On Mon, 17 Apr 2000, Richard Titmuss wrote:

> Hi,
> 
> I have also had this problem. I checked the modperl-cvs archive and this
> problem has been fixed in the development release.

yes, the cvs version implements Apache::OPEN
 
> I still have an problem using IPC::Open2. This can be demonstrated by:
> 
>       use IPC::Open2;
>       $pid = open2(\*A, \*B, '/usr/bin/ls');
> 
> The error log shows:
> 
> [error] Can't locate object method "FILENO" via package "Apache" at
> /usr/local/lib/perl5/5.6.0/IPC/Open3.pm line 183.

does this fix it:

sub Apache::FILENO {
    untie *STDOUT;
    fileno STDOUT;
}

?

Reply via email to