Perl-Sensitive Sunglasses | |
PerlMonks |
How to print the deep content of the array?by Anonymous Monk |
on Sep 21, 2000 at 05:29 UTC ( [id://33437]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How can I accept an array as input and print out the deep content of the array?
my @ary = (1, ["a", "b", [ ], [3, [0],5]); Would like to print out: (1, [a, b, [ ], [3, [0], 5]) (formatting fixed by editors) Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|