Just a couple of lines of the input demonstrating a match and a fail would help. Try replacing the use of $1 with something other than a special variable, I typically use $line. Then see how you get on.
Cheers,
R.
In reply to Re^3: Filehandle problem
by Random_Walk
in thread Filehandle problem
by amma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |