perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dondi M. Stroma" <dstr...@verizon.net>
Subject Re: print() on closed filehandle
Date Mon, 30 Oct 2006 20:31:31 GMT
You ought to test if the file is really open first, and you will hopefully 
get a more helpful error message:

open(LOGFILE, ">>junk.log") or die "Cannot open logfile, $!"; 


Mime
View raw message