[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: print() on closed filehandle
- Subject: Re: print() on closed filehandle
- Date: Mon, 30 Oct 2006 15:31:31 -0500
- From: "Dondi M. Stroma" <suppressed>
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, $!";
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.