Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Puzzlement in Splitsvilleby eyepopslikeamosquito (Archbishop) |
on Jun 19, 2005 at 14:30 UTC ( [id://468139]=note: print w/replies, xml ) | Need Help?? |
thundergnat's solution is the best I can see (I came up with it independently) because it avoids the ugly removal of every 2nd item. However, because variety is the spice of life I present the ganglier: which suffers from the same annoyance as your original solution: the parens, which are needed for the back reference, have the annoying side effect here of changing the semantics of what split returns.
In Section
Meditations
|
|