Now imagine we could autobox a method ->push and something like the long deprecated $# was used for the current index in a loop
$b[ $# / $C ]->push($_) for @a
Isn't it swell?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^2: List into two-dimensional array
by LanX
in thread List into two-dimensional array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |