Yair Lenga wrote:

> I've currently in the process of moving from CGI to mod_perl. I noticed several 
>people that complain about "Mismatched prototype" warning. while most of the messages 
>are caused by perl handling of function declaration, I think that some of the 
>messages can be reduced by fixing 'mod_perl':
> 
> The flush_namespace was not checking for empty prototypes (i.e.,function that does 
>take zero parameters, like most of the "constant functions"). I.e.
>     sub PI () { 3.1415 } was treated the same as
>     sub PI { 3.1415 }
> 
> I made a minor modication to the code, and that has eliminated many warnings 
>(especially from libwww). I hope that someone can review those changes and commit 
>them to the "master" source code, for the next mod_perl release).

Thank you Yair, committed.

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

Reply via email to