perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: writing to file with mp2
Date Wed, 27 Jul 2005 08:54:08 GMT
Philip M. Gollucci wrote:
> Marc Lambrichs wrote:
> 
>> What's the best way to write to a file using mp2? IO::File is slow and 
>> Apache::File is lost...
> 
> You could use this:
> http://perl.apache.org/docs/2.0/api/APR/PerlIO.html

It's certainly not the fastest way. There is some explanation here:
http://perl.apache.org/docs/2.0/api/APR/PerlIO.html#Description

Just open the file and write it out like you always do in Perl.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message