$dumper_output =~ s/ +/ /g;
Probably not a good idea...
use Data::Dumper; my $dumper_output = Dumper({"foo bar"=>"quz\n baz"}); print $dumper_output; $dumper_output =~ s/ +/ /g; print $dumper_output; __END__ $VAR1 = { 'foo bar' => 'quz baz' }; $VAR1 = { 'foo bar' => 'quz baz' };
In reply to Re^2: Is there a way to reduce Data::Dumper's output size?
by Anonymous Monk
in thread Is there a way to reduce Data::Dumper's output size?
by tkguifan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |