|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re^3: What is Perl way to simultaneously assign to three separate arrays?by CoVAX (Beadle) |
| on Feb 15, 2015 at 08:42 UTC ( [id://1116769]=note: print w/replies, xml ) | Need Help?? |
|
Here's what I came up with to "post-process" the array to get what I wanted:
The output:
I don't know why but lately I've been in a mood to "do it in one statement" or "do it in place". So I have to ask: "Can this be done in-place with just one array?"
Searched for donut and crumpit. Found donate and stumbit instead.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||