I was having problems with the call to Open3 in the
mod_cgi.pm module using ActiveState perl (revision 5
version 6 subversion 0) on a WindowsNT machine. It
was not populating anything in the <IN> (I apologize
for my total lack of understanding) . Basically, the
$return scalar was not being populated. I
investigated IPC::Open3 on the Internet and found that
several people claim that it has a bug with dieing
silently. So I found a replacement for IPC::Open3
call Open32 at http://www.software-
path.com/scripts.html. This seems to have
straightened out the problems that I was having with
the perlwebserver.
Logged In: NO
I'm getting "Use of inherited AUTOLOAD for non-method
PerlWebServer::Module::mod_cgi::open3() is deprecated"
warnings. But it works:
<use IPC::Open3;
>use IPC::Open32;
< local (*IN,*OUT,*ERR);
> local (*IN,*OUT,*ERR); my ($cgi_out, $cgi_in,
$cgi_err);
> if (open3($cgi_out, $cgi_in, $cgi_err,"$file")) {
> tie *IN, ref $cgi_in, $cgi_in;
> tie *OUT, ref $cgi_out, $cgi_out;
> tie *ERR, ref $cgi_err, $cgi_err;