Hi fabalicious
If @M is an array of array references, then
foreach $arrayref (@M) { foreach $element (@$arrayref) { print "$element "; } print "\n"; }
hope this helps
cheers
thinker
In reply to Re: multi-dimensional arrays, dereferencing
by thinker
in thread multi-dimensional arrays, dereferencing
by fabalicious
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |