in reply to Re: STDOUT changing descritpors (open, no =)
in thread STDOUT changing descritpors
gives me:open(STDIN,"<&".fileno($c)) or die; print STDERR "STDIN: ",<STDIN>; print STDERR "\$c: ",<$c>;
very strange. This I can deal with.. the STDOUT was the more important thing, STDIN would just be a nice thing to get working.20040902 14:15:45 STDIN: 20040902 14:15:45 $c: fcl_userid=d4ants&fcl_password=hidden&referer=& +fcl_login_submit=Login
I had manged to get it working using POSIX::dup2 and POSIX::close... but this seems much nicer :)
Thanks!
|
|---|