perlnew1611 has asked for the wisdom of the Perl Monks concerning the following question:
I am executing perl, the statement open(TH, "|$test >$tmpfn" ) works fine but when the close is called on TH (close(TH)) $? returns 15360.
From the code it looks like it expects 256. Is there a document which defines what these return codes mean. Based on some searching...it looks like 15360 is something to do with problem closing the filehandle for piped open... if so what need to be done to overcome this. thanks for your help in advance
P
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error code 15360 on close filehandle
by ikegami (Patriarch) on Nov 28, 2011 at 18:19 UTC | |
by perlnew1611 (Initiate) on Nov 28, 2011 at 21:09 UTC | |
by ikegami (Patriarch) on Nov 29, 2011 at 04:12 UTC |