leonardshoh has asked for the wisdom of the Perl Monks concerning the following question:
I am a perl noob and I keep getting these errors in a particular script :
print() on closed filehandle LOG at /home/flexusr/bin/megaupdate_optio +ns_new.pl line 796. print() on closed filehandle LOG at /home/flexusr/bin/megaupdate_optio +ns_new.pl line 796.
The code is as below
796 # create the log string and print it 797 print LOG "$ts $msgType $msg\n"; 798 } 799 #============================================================= +=========
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: print() on closed filehandle
by davido (Cardinal) on May 04, 2011 at 05:42 UTC | |
|
Re: print() on closed filehandle
by wind (Priest) on May 04, 2011 at 04:51 UTC | |
|
Re: print() on closed filehandle
by ambrus (Abbot) on May 04, 2011 at 09:29 UTC | |
by ikegami (Patriarch) on May 04, 2011 at 09:31 UTC | |
by ambrus (Abbot) on May 04, 2011 at 09:37 UTC | |
by LanX (Saint) on May 04, 2011 at 09:38 UTC | |
by ikegami (Patriarch) on May 04, 2011 at 18:40 UTC | |
by tchrist (Pilgrim) on May 05, 2011 at 13:58 UTC |