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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to print the deep content of the array?
by chromatic (Archbishop) on Sep 21, 2000 at 07:08 UTC | |
Re: How to print the deep content of the array?
by princepawn (Parson) on Sep 21, 2000 at 16:51 UTC | |
Re: How to print the deep content of the array?
by ton (Friar) on Apr 05, 2001 at 03:35 UTC |
Back to
Seekers of Perl Wisdom