Perhaps I misunderstand you:
perl -le 'use Data::Dumper; open(my $fh, ">x.txt") or die "open $!"; p +rint $fh Dumper([1,2,3]);'
In reply to Re: passing Dumper output to print subroutine?
by mje
in thread passing Dumper output to print subroutine?
by bigtiny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |