in reply to Golf: List spliting
36 total.my@r;@l=grep{c($_)?0*push@r,$_:1}@l;
blargh: never mind, I just noticed that this is essentially the same thing as Tye's, unwrapped, and with an extra character :)
MeowChow s aamecha.s a..a\u$&owag.print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re2: Golf: List spliting
by tye (Sage) on Apr 21, 2001 at 02:14 UTC |