Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Golf/Perlish solution to this problem?by GrandFather (Saint) |
on Jan 31, 2008 at 01:53 UTC ( [id://665254]=note: print w/replies, xml ) | Need Help?? |
I sorta like:
but it'd be nice to clean up the splices in some fashion. Of course if you don't want to destroy the original array you could:
Perl is environmentally friendly - it saves trees
In Section
Seekers of Perl Wisdom
|
|