in reply to Data::Dump::Streamer Dump in concatenation

You're completely misusing the function. Dump does not return a string to print. The proper usage is:
Dump({1,2}); print "\n\n";

Replies are listed 'Best First'.
Re^2: Data::Dump::Streamer Dump in concatenation
by Anonymous Monk on Jul 18, 2009 at 07:46 UTC
    Are you sure? It says in docs
    my $obj=Dump($x,$y); # Returns an object my $str=Dump($x,$y)->Out(); # Returns a string of the dump. my @code=Dump($x,$y); # Returns a list of the dump. Dump($x,$y); # prints the dump. print Dump($x,$y); # prints the dump.
      Ah, so it does. Probably because the author figured many people would try to use it that way anyway. I missed it originally because the first and only appearance of this usage is halfway through the substantial documentation. The docs are very clear that it only works in list context, though. (Anything else would conflict with the normal usages.)
        OIC, thank you, will use Dump()->Out