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