There's more than one way to do things | |
PerlMonks |
Re: split giving me a splitting headacheby bart (Canon) |
on Apr 24, 2013 at 19:21 UTC ( [id://1030491]=note: print w/replies, xml ) | Need Help?? |
/.*/ is greedy. So all you have to do is
and Bob's your uncle. Unless there is no period. You'll have to handle that case separately.
In Section
Seekers of Perl Wisdom
|
|