![]() |
|
No such thing as a small change | |
PerlMonks |
Re: split giving me a splitting headacheby bart (Canon) |
on Apr 24, 2013 at 19:21 UTC ( #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
|
|