http://www.perlmonks.org?node_id=559758


in reply to Get the Pretty view use STDERR in error_log file

Try Data::Dumper
use Data::Dumper; my @arr=qw(Apple Banana Orange Flower Green Red Yellow); print STDERR Dumper [ @arr ];
gives you
$VAR1 = [ 'Apple', 'Banana', 'Orange', 'Flower', 'Green', 'Red', 'Yellow' ];

-biz-