There's more than one way to do things | |
PerlMonks |
Re: List into two-dimensional arrayby ikegami (Patriarch) |
on Dec 14, 2020 at 18:43 UTC ( [id://11125180]=note: print w/replies, xml ) | Need Help?? |
You could keep using splice and achieve your goal by using a sub.
Update: Woops! Fixed issue brought up by haukex in reply.
In Section
Seekers of Perl Wisdom
|
|