in reply to Stream Dumper

works OK but it creates the dump in the memory, which I'd like to avoid. Is there a way to direct the dump right into the file?

Interesting question. I understand what you mean. I don't know if there's a ready made solution, but if not, then I suppose that D::D builds a string incrementally: so you may examine its code to make it incrementally write to a given file instead.

Replies are listed 'Best First'.
Re^2: Stream Dumper
by demerphq (Chancellor) on May 23, 2007 at 15:11 UTC

    IMO this will be quite nontrivial to do.

    ---
    $world=~s/war/peace/g

      IMO this will be quite nontrivial to do.

      Appearently the good news are that D::D::S already did that. One more module to bookmark!

        not only does it stream, but it is also more accurate and easier to read.

        ---
        $world=~s/war/peace/g

A reply falls below the community's threshold of quality. You may see it by logging in.