Try
my $mail_file = $ARGV[0]; open my $mail_fh, "<", $mail_file or die "Couldn't open '$mail_file': +$!";
and then put $mail_fh where you now have $ARGV[0].
In reply to Re^3: loading files
by almut
in thread loading files
by Bass-Fighter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |