the generator of the array looks a little off, personally i would have used a ref, i.e. $array = [];, and done it manually, or with a loop.
In reply to Re: Question about how to return a array in subroutine to form a two dimensional array
by linuxkid
in thread Question about how to return a array in subroutine to form a two dimensional array
by mianfeidewucan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |