> When I change:
> 
> return Apache2::Const::REDIRECT;
> 
> to:
> 
> return Apache2::Const::HTTP_MOVED_PERMANENTLY;
> 
> I get:
> 
> Bareword "Apache2::Const::HTTP_MOVED_PERMANENTLY" not allowed while
> "strict subs" in use

You need something like:
use Apache2::Const -compile => qw(OK DECLINED HTTP_MOVED_PERMANENTLY..);

> I'm using mod_perl-2.0.2 and apache-2.0.58.  Any ideas?
> 
> - Grant

________________________________________________________________________

Clinton Gormley [EMAIL PROTECTED]

www.TravelJury.com - For travellers, By travellers



Reply via email to