Earlier in the chapter it notes that when using a Regular Expression with grouping, the sucker "eats up" hits and stores them in incrementally changing variables of $1, $2...It seems to me the book didn't make the way capture groups (parens) work in Perl's regexes clear? Perhaps it's just not a good book?
In reply to Re: exist backreference variable list?
by Anonymous Monk
in thread exist backreference variable list?
by PerlJam2015
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |