Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
"be consistent"
 
PerlMonks  

Re^2: File handle passing issue under *nix

by vsespb (Hermit)
on Sep 30, 2013 at 19:32 UTC ( #1056412=note: print w/ replies, xml ) Need Help??


in reply to Re: File handle passing issue under *nix
in thread [SOLVED] File handle passing issue under *nix

1) You subcommand2.pl test is IMHO a false positive.
Indeed, but my intention was to proof that it at least can read something and not hang (so, exec() call works like expected etc).
2) As soon as you modify your main.pl to the following, it works
Damn! You are right! I was trying version which closes READHANDLE, but forgot about WRITEHANDLE ! Thank you. I think it's solved now!

p.s.
I upvoted your sarcastic post, it looks acceptable to me.


Comment on Re^2: File handle passing issue under *nix
Re^3: File handle passing issue under *nix
by McA (Deacon) on Sep 30, 2013 at 19:48 UTC

    You're welcome. McA

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056412]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2014-04-17 22:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (458 votes), past polls