You declare my $value inside the loop, so that variable will cease to exist once the loop exits. You need to move your test inside the loop, and don't re-declare the variable. That's the first problem I see.
In reply to Re: Match two files using regex
by GotToBTru
in thread Match two files using regex
by chemshifts
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |