Re: Apache::Status bareword error

[prev] [thread] [next] [Date index for 2004/12/17]

From: Stas Bekman
Subject: Re: Apache::Status bareword error
Date: 20:20 on 17 Dec 2004
John Williams wrote:
> mod_perl-2.0.0-RC1
> perl-5.8.5 on linux (Fedora Core 3)
> 
> This test file:
> 
>   #!/usr/bin/perl
>   use strict;
>   use Apache::Status;
>   1;
> 
> Gives this error:
> 
> Bareword "Apache::ServerUtil::server_root" not allowed while "strict subs" in use at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Apache/Status.pm line 710.
> 
> I suggest this patch to fix it:

Thanks John, committed!

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Apache::Status bareword error
John Williams 19:18 on 17 Dec 2004

Re: Apache::Status bareword error
Stas Bekman 20:20 on 17 Dec 2004

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52