Even better would be:
open my $testFile, '<', $TestFile or die "ERROR: Unable to open '$Test +File' for reading: $!";
Note the use of a lexical file handle and that the die reports the OS supplied error.
In reply to Re^2: Sending Email to a list of people using Mail::Sender
by GrandFather
in thread Sending Email to a list of people using Mail::Sender
by mlebel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |