The capture of the second match is not $2, it is $1. The higher numbered capture variables are set by multiple matches within the same regex only.
In reply to Re: error: Use of uninitialized value in print at enhancement.pl line 31, <$readhandle> line 4.
by hippo
in thread error: Use of uninitialized value in print at enhancement.pl line 31, <$readhandle> line 4.
by mmazlan67
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |