perlquestion
Anonymous Monk
array
data_structure
deep
recursive
recurse
recursion
Data::Dumper
ref
How can I accept an array as input and print out the deep content of the array?
<p>
<code>my @ary = (1, ["a", "b", [ ], [3, [0],5]);</code>
<p>
Would like to print out:
<p>
<code>(1, [a, b, [ ], [3, [0], 5])</code>
<p>
(<em>formatting fixed by editors</em>)
<p><i>Originally posted as a Categorized Question. </i></p>
5