You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2001/11/20 02:30:47 UTC

Re: cvs commit: modperl-2.0/xs/maps apache_functions.map

dougm@apache.org wrote:

> dougm       01/11/19 15:46:48
> 
>   Modified:    xs/Apache/ServerUtil Apache__ServerUtil.h
>                xs/maps  apache_functions.map
>   Log:
>   add Apache::server_root constant


would it be better if it was clear from name that it's a constant? e.g. 
Apache::ServerRoot or Apache::SERVER_ROOT. I suppose that since it's a 
sub anyway, Apache::server_root() will work too.





_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: cvs commit: modperl-2.0/xs/maps apache_functions.map

Posted by Doug MacEachern <do...@covalent.net>.
On Tue, 20 Nov 2001, Stas Bekman wrote:
 
> would it be better if it was clear from name that it's a constant? e.g. 
> Apache::ServerRoot or Apache::SERVER_ROOT. I suppose that since it's a 
> sub anyway, Apache::server_root() will work too.

i think its better to keep it as the same name as apache's variable.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org