perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manoj Bist" <manoj.bi...@gmail.com>
Subject modperl and fprintf(stdout,...)
Date Fri, 17 Aug 2007 04:21:16 GMT
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(stdout,...)
does not work in context of modperl.
Do I have to copy the binary data to a perl scalar variable and then do
$r->print(...) in the perl script?

Please do let me know if I need to provide more details.

Thanks,

Manoj.

Mime
View raw message