Re: modperl and fprintf(stdout,...)

2007-08-17 Thread Geoffrey Young
Manoj Bist wrote: > Hi, > > I would really appreciate if someone could answer the following question > regarding modperl and writing to stdout for me: > > I have a perl binding for a C library which generates binary(audio/video) > data. To push this binary data over an HTTP response, fprintf(s

Re: speed limit

2007-08-17 Thread Perrin Harkins
On 8/16/07, Jen mlists <[EMAIL PROTECTED]> wrote: > Is it possible to write speed limit module (for file downloading) by > modperl rather than using Apache's official module? Yes, you have the full Apache API available to you from mod_perl. If you look on CPAN, you may find something like this al

Re: modperl and fprintf(stdout,...)

2007-08-17 Thread Perrin Harkins
On 8/17/07, Manoj Bist <[EMAIL PROTECTED]> wrote: > I have a perl binding for a C library which generates binary(audio/video) > data. To push this binary data over an HTTP response, fprintf(stdout,...) > does not work in context of modperl. > Do I have to copy the binary data to a perl scalar vari

Re: All about CGI.pm

2007-08-17 Thread Perrin Harkins
On 8/16/07, Tracy12 <[EMAIL PROTECTED]> wrote: > When we ran the same script on other Linux machine, the param value is not > showing, it looks to me from the observation that CGI.pm has not been > installed, but I was under the impression that mod_perl 2.0 CGI.pm is not bundled with mod_perl. It

Re: Problem with IPC:RUN on Windows

2007-08-17 Thread Perrin Harkins
On 8/17/07, Manoj Bist <[EMAIL PROTECTED]> wrote: > My understanding is that a perl module that manipulates stdout is not > expected to work under mod_perl. IPC::Run manipulates stdout to make > different processes connected by pipes work. IPC::Run used to work, at least on mod_perl 1. I've neve

Re: All about CGI.pm

2007-08-17 Thread Sean Davis
Tracy12 wrote: > How can we install this seperately from where should we download this? CGI is available from CPAN. Sean

Re: Problem with IPC:RUN on Windows

2007-08-17 Thread Manoj Bist
My understanding is that a perl module that manipulates stdout is not expected to work under mod_perl. IPC::Run manipulates stdout to make different processes connected by pipes work. You can also go through the following guidelines for porting your scripts to mod_perl. http://perl.apache.org/do