open(LOGFILE, ">>junk.log") or die "Cannot open logfile, $!";
You ought to test if the file is really open first, and you will hopefully
get a more helpful error message:
- print() on closed filehandle Harry Plate
- Re: print() on closed filehandle Dondi M. Stroma
- Re: print() on closed filehandle Harry Plate
- Re: print() on closed filehandle Perrin Harkins
- Re: print() on closed filehandle Peter Rosenthal
- Re: print() on closed filehandle Harry Plate
- Re: print() on closed filehandle Frank Wiles
- Re: print() on closed filehandle Clinton Gormley