somefile then contains:use Data::Dump::Streamer; use Fatal qw/open/; open my $fh, '>', 'somefile'; my $x = {cat => [qw/man du/]}; Dump($x)->To($fh)->Out();
Updated example to include intialisation of $x and output.$HASH1 = { cat => [ 'man', 'du' ] };
In reply to Re: Stream Dumper
by Arunbear
in thread Stream Dumper
by Sixtease
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |