Re: Writing to stdin of subprocess under modperl 1.0 fails :/

2003-01-14 Thread Antti Haapala
> Use IPC::Run instead of the IPC::Open* family, it surely works and a much > more flexible tool! Thanks for advice. Tried it and it worked! -- Antti Haapala

Re: Writing to stdin of subprocess under modperl 1.0 fails :/

2003-01-13 Thread Stas Bekman
Antti Haapala wrote: Hello all, I'm having trouble with following script under mod_perl 1.26 (perl 5.6.1). use strict (); use IO::Handle (); use IPC::Open2 (); [...] Use IPC::Run instead of the IPC::Open* family, it surely works and a much more flexible tool! Probably need to add an it

Writing to stdin of subprocess under modperl 1.0 fails :/

2003-01-13 Thread Antti Haapala
Hello all, I'm having trouble with following script under mod_perl 1.26 (perl 5.6.1). use strict (); use IO::Handle (); use IPC::Open2 (); ### # # Check $username & $password against YP database sub check_password { my ($username, $passwd) = @_; my($rh, $wh); # open bi