Hey all,
So, with the help of everyone else I was able to get the
file name globbing taken care of.
Now I'm running into a problem of not being able to open
a file. I have a parameter file that contains the names of
two other files with full pathnames. In my code, I try to open
the parameter file for reading but die with "bad file descriptor".
Here is my code:
sub parse_mail {
my $mail = "@_";
open (MAIL,$mail) || die "Cannot open $mail, $!";
@mailf = <MAIL>;
chomp (@mailf);
close (MAIL) || die "Cannot close $mail, $!";
return @mailf;
}
I would appreciate any help that anyone might give.
Thanks in advance,
Bradley
Where ever there is confusion to be had... I'll be there.