XP is just a number | |
PerlMonks |
Re: Inserting an element into an array after a certain elementby Anonymous Monk |
on Apr 01, 2005 at 02:17 UTC ( [id://444058]=note: print w/replies, xml ) | Need Help?? |
An obvious solution would be
snip
but that's nowhere as perlish or short as I'd like it to be.
Boring and obviously correct beats clever and potentially wrong, at least in my books. There's nothing like complexity to introduce bugs into software...
In Section
Seekers of Perl Wisdom
|
|