![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: looping over multidimensional arraysby LanX (Cardinal) |
on Sep 20, 2018 at 14:35 UTC ( #1222718=note: print w/replies, xml ) | Need Help?? |
For covering arbitrary depth of nesting you could apply a recursive function (a so called "walker") If the elements are other than array_refs you might want to add cases after testing ref $aX.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|