Re: IPC::Open2 works as script and not as cgi

2003-01-02 Thread Wiggins d'Anconia
At a loss for what else you can try, with the exception of starting over with that file and try rewriting it, never know that sometimes helps for no apparent reason :-). Sorry I couldn't be of more help http://danconia.org Miroslav Suchy wrote: Wiggins D'Anconia wrote: The snippet you se

Re: IPC::Open2 works as script and not as cgi

2003-01-02 Thread Miroslav Suchy
Wiggins D'Anconia wrote: The snippet you sent worked fine for me both at the command line and through CGI (Linux RH 8.0, Apache 2.x, Perl 5.8.0, Mozilla 1.2.x). Is there anything abnormal about your perl setup? What version of Perl and IPC::Open2 do you have? Are the permissions set correct o

Re: IPC::Open2 works as script and not as cgi

2003-01-01 Thread Miroslav Suchy
Wiggins D'Anconia wrote: I am not sure if Open2 automagically autoflushes the IO so you may want to turn on autoflushing and try again to see if that helps. You should also turn on warnings with 'use warnings' and see if that gives any more information. Don't know why other than not flushing

Re: IPC::Open2 works as script and not as cgi

2003-01-01 Thread Wiggins d'Anconia
The snippet you sent worked fine for me both at the command line and through CGI (Linux RH 8.0, Apache 2.x, Perl 5.8.0, Mozilla 1.2.x). Is there anything abnormal about your perl setup? What version of Perl and IPC::Open2 do you have? Are the permissions set correct on the script? Sounds lik

Re: IPC::Open2 works as script and not as cgi

2003-01-01 Thread Wiggins d'Anconia
I am not sure if Open2 automagically autoflushes the IO so you may want to turn on autoflushing and try again to see if that helps. You should also turn on warnings with 'use warnings' and see if that gives any more information. Don't know why other than not flushing the buffers this would wor

IPC::Open2 works as script and not as cgi

2003-01-01 Thread Miroslav Suchy
Greetings. I have problem with following code. It read output from ispell using IPC::Open2. When I run it from command line, then everything is ok. But when I run it under Apache as cgi -- it do not read output from ispell. Actually it read first line from ispell so IPC::Open2 is probably ok... Whe