One way (there are many 'data dumpers'). Note: you must pass a reference to the array to the Dumper function.
>perl -wMstrict -le "use Data::Dumper; my @output = qw(1 2 foo); print Dumper \@output; " $VAR1 = [ '1', '2', 'foo' ];
See Data::Dumper.
In reply to Re^5: Empty string checking in output
by AnomalousMonk
in thread Empty string checking in output
by Kumar Mantri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |