Hi there,I am trying to figure out why the following error is happening from time to time when I am unlink'ing a file.
readline() on unopened filehandle at ./check.pl line 207.
here is the code - lines 205-207
my $filename = "$outputdir/$device.$configuration_file_ext";
print "filename: $filename\n";
unlink ($filename) if (-e $filename);
Cheers,
Noah
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
