|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Inverse slicesby johngg (Canon) |
| on Nov 01, 2024 at 11:59 UTC ( [id://11162557]=note: print w/replies, xml ) | Need Help?? |
|
This uses a hash for the index rather than an array and push with a ternary.
I hope this is of interest. Update: Removed erroneous space in Dumpxs call which was mucking up the output. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||