perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] CGI.pm porting/co-existence questions
Date Mon, 08 Aug 2005 05:42:02 GMT
Philip M. Gollucci wrote:
> Stas Bekman wrote:
> 
>>
>>>>>     print vs. $r->print
>>>>
>>>>
>>>>
>>>> This is drastically faster.. especially if you use
>>>> one print
>>>> per request at the end and/or pass a reference to
>>>> the scalar string.
>>
>> Actually this is no longer true. in mp2 you can't pass a reference to 
>> a scalar.
>>
>> Still $r->print is faster :)
> 
> I think I knew that.  Why did that change?

You mean passing by reference? I think it just doesn't make any sense 
because of the way mp2's print works. There are filters, so things work 
very differently.


-- 
__________________________________________________________________
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