Just another Perl shrine | |
PerlMonks |
Re: How to print the deep content of the array?by chromatic (Archbishop) |
on Sep 21, 2000 at 07:08 UTC ( [id://33444]=note: print w/replies, xml ) | Need Help?? |
If it doesn't need to be in that exact format, the built in Data::Dumper module is quite nice:
Otherwise, you'll have to loop through the elements of the array, checking them with ref and recursing when necessary. It's doable, but not terribly fun.
In Section
Seekers of Perl Wisdom
|
|