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.";
In reply to Re: Re: Re: Re: backward split
by sauoq
in thread backward split
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |