in reply to error: Use of uninitialized value in print at enhancement.pl line 31, <$readhandle> line 4.
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.
|
|---|