Noah wrote:
Hi there,

Hello,

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);

There is no readline() (or <>) in your example so there is no way to determine what the actual error is.



John
--
The programmer is fighting against the two most
destructive forces in the universe: entropy and
human stupidity.               -- Damian Conway

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to