Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: golf anyone? (taking first field)by busunsl (Vicar) |
on Jan 07, 2003 at 07:33 UTC ( [id://224893]=note: print w/replies, xml ) | Need Help?? |
36 chars and handles blank lines, empty lines and lines starting with a colon:
Chokes if the values in front of the colon is '0'. Update: 33 chars (destructive): Update: 32 chars (destructive):
In Section
Seekers of Perl Wisdom
|
|