![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^4: Splitting a stringby nobull (Friar) |
on Feb 25, 2006 at 15:37 UTC ( #532772=note: print w/replies, xml ) | Need Help?? |
It is true that /PATTERN/g will DWIM when /PATTERN/ matches the empty string and not find an infinite number of matches as the same point.
I, however, consider code that relies on this behaviour in order save one character to be less simple.
In Section
Seekers of Perl Wisdom
|
|