You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Cyril SCETBON <cy...@free.fr> on 2007/06/15 17:39:13 UTC

warn or $r->server->warn ?

Hi people,

Is there any difference in using each syntax to signal a warning in the 
error log of Apache ? Performance impact ?


Thanks

Re: warn or $r->server->warn ?

Posted by Cyril SCETBON <cy...@free.fr>.

Perrin Harkins wrote:
> On 6/15/07, Cyril SCETBON <cy...@free.fr> wrote:
>> Is there any difference in using each syntax to signal a warning in the
>> error log of Apache ? Performance impact ?
> 
> Theoretically, the longer version is probably faster, but I doubt
> you'll ever be able to measure a significant difference.
Understood.

Thanks.
> 
> - Perrin
> 
> 

Re: warn or $r->server->warn ?

Posted by Perrin Harkins <pe...@elem.com>.
On 6/15/07, Cyril SCETBON <cy...@free.fr> wrote:
> Is there any difference in using each syntax to signal a warning in the
> error log of Apache ? Performance impact ?

Theoretically, the longer version is probably faster, but I doubt
you'll ever be able to measure a significant difference.

- Perrin