laziness, impatience, and hubris | |
PerlMonks |
Re: stack array to array of arraysby Random_Walk (Prior) |
on Oct 17, 2013 at 13:25 UTC ( [id://1058625]=note: print w/replies, xml ) | Need Help?? |
Just for fun perl -MData::Dumper -lE "@r=(1..40);$s=5;$n[($i-$i%$s)/$s][$i++%$s]=$r[$i]for@r;say Dumper\@nCheers,
Pereant, qui ante nos nostra dixerunt!
In Section
Seekers of Perl Wisdom
|
|