in reply to Re: Re: Re: backward split
in thread backward split
Of course, you can use a positive lookahead too...
but really... neither choice is better than a simple capturing regex.my ($val1, $val2) = split /\.(?=[^.]*$)/, $string;
-sauoq "My two cents aren't worth a dime.";
|
|---|