in reply to In an array of arrays, how do I print the whole array or bits of it?
Additionally, you may wish to look at the Data::Dumper module, which can display complex data structures in a human readable format.my @lol = ([1, 2, 3], 'x', [qw(A B C)], 'foo'); print join "\n", map {ref $_ ? join ', ', @$_ : $_} @lol;
|
---|