P is for Practical | |
PerlMonks |
Re: golf anyone? (taking first field)by Aristotle (Chancellor) |
on Jan 07, 2003 at 10:44 UTC ( [id://224932]=note: print w/replies, xml ) | Need Help?? |
Update: 'tis broken. See sauoq's reply. Do you really just want the first word, even if there are several before the colon? In that case, 21. If you want to allow optional whitespace at the start of a line, 24.
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|