I'm trying to do this under mod_perl2:

use IPC::Open2;
my $pid = open2(*CHLD_OUT, *CHLD_IN, '/usr/local/bin/prince -');

I've also tried this:

use IPC::Open2;
my $pid = open2(*CHLD_OUT, *CHLD_IN, '/usr/local/bin/prince', ' - ' );

It works from a normal command line script, but it seems to mess up the arguments under mod_perl:
prince: -: error: could not load input file
prince: error: no input documents to process


Is there something special I need to do since it's under the mod_perl environment?

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to