[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

modperl and fprintf(stdout,...)


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.



Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.