You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Geoffrey Young <ge...@modperlcookbook.org> on 2004/12/18 04:28:29 UTC
Re: svn commit: r122674 - /perl/modperl/trunk/Changes /perl/modperl/trunk/lib/Apache/Status.pm
> - my $dir = File::Spec->catfile(Apache::ServerUtil::server_root,
> + my $dir = File::Spec->catfile(Apache::ServerUtil::server_root(),
this strikes me as odd - Apache::ServerUtil::server_root is inserted into
the Apache::ServerUtil namespace as a constant subroutine and we use
Apache::ServerUtil at the top of the file, so it should be perfectly seen.
is this solution just masking a different issue?
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: svn commit: r122674 - /perl/modperl/trunk/Changes /perl/modperl/trunk/lib/Apache/Status.pm
Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
>>- my $dir = File::Spec->catfile(Apache::ServerUtil::server_root,
>>+ my $dir = File::Spec->catfile(Apache::ServerUtil::server_root(),
>
>
> this strikes me as odd - Apache::ServerUtil::server_root is inserted into
> the Apache::ServerUtil namespace as a constant subroutine and we use
> Apache::ServerUtil at the top of the file, so it should be perfectly seen.
>
> is this solution just masking a different issue?
Well, the reporter has mentioned that he was trying to run it as:
This test file:
#!/usr/bin/perl
use strict;
use Apache::Status;
1;
not sure how he run it.
http://marc.theaimsgroup.com/?l=apache-modperl&m=110331324113241&w=2
--
__________________________________________________________________
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org