To get the actual array from an array reference, one usually writes @$aref leading us toforeach $aref (@M) {...
and that's all about it.foreach $element (@$aref) {...
In reply to Re: Re: multi-dimensional arrays, dereferencing
by Skeeve
in thread multi-dimensional arrays, dereferencing
by fabalicious
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |