in reply to Split a string with multiple trailing delimeters?
In perldoc on split, it says:my @values = split(/\*\*/,$str,-1);
"Empty trailing fields, on the other hand, are produced when there is a match at the end of the string (and when LIMIT is given and is not 0)"
From http://perldoc.perl.org/functions/split.html
|
|---|