> hm, I couldn't find @- or @+ in the second edition of Programming Perl.
> when you get some docs handy, could you point me to a specific source?

They hold the offsets of the beginnings and ends of the last successful
submatches.  $-[0] is the offset of the beginning of the entire match,
$+[0] the offset of the end of the entire match.

See also:  perldoc perlvar


j


Reply via email to