my $outfile = $ARRGV[2];
Perhaps you meant $ARGV[1]?
I can only assume you removed the use warnings; use strict; from the top of the script, otherwise, Perl would have told you about the typo. So don't do that!
In reply to Re^5: help with regular expression required
by Anonymous Monk
in thread help with regular expression required
by PitifulProgrammer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |