Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: open2 does not work in mod perl

by ides (Deacon)
on Jun 12, 2007 at 18:32 UTC ( #620785=note: print w/replies, xml ) Need Help??


in reply to open2 does not work in mod perl

It *might* be because of the globs. Try this:

my($reader, $writer); $pid = open2($reader, $writer, $test_cmd);

Not sure it will make a difference, but worth a try.

Frank Wiles <frank@revsys.com>
www.revsys.com

Replies are listed 'Best First'.
Re^2: open2 does not work in mod perl
by Anonymous Monk on Jun 14, 2007 at 09:49 UTC
    No, it is not due to globs, I tried with locals, yet it fails

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://620785]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-02-23 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (349 votes). Check out past polls.