Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
Replies are listed 'Best First'.
Re^3: File handle passing issue under *nix
by McA (Priest) 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 wandering the Monastery: (7)
As of 2015-09-01 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (47 votes), past polls