in reply to print() on closed filehandle OUT at B.p line 19, <SH> line 1732.
Change open OUT to this
and perl will tell youopen(OUT, "/tmp/$sh".".sysedge.sh") or die "Can't open /tmp/$sh.sysedg +e.sh: $!\n";
Update: kudos to wjc75019 for spotting his error without my help;-) But the or die is still good advice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: print() on closed filehandle OUT at B.p line 19, <SH> line 1732.
by wcj75019 (Acolyte) on Feb 24, 2008 at 03:53 UTC | |
|
Re^2: print() on closed filehandle OUT at B.p line 19, <SH> line 1732.
by lidden (Curate) on Feb 24, 2008 at 17:03 UTC | |
by ikegami (Patriarch) on Feb 24, 2008 at 17:17 UTC | |
by lidden (Curate) on Feb 24, 2008 at 17:46 UTC |