On Mon, 31 Jul 2000, will trillich wrote:

> this is bound to be simple, so of course i'm at a loss to find it...
> 
> % perl -MApache::Constants -e 'print NOT_FOUND'
> Undefined subroutine &Apache::Constants::NOT_FOUND called at -e line 1.
> 
> i also try it via
> 
>       #!/usr/bin/perl
>       use Apache::Constants qw(:standard);
>       print NOT_FOUND;
> 
> with identical results (i.e. the requested constants are not defined).
> 
> what am i not seeing?

The constants are compiled and brought in only when running under
mod_perl.

(and there's no :standard exporter flag, try :common)

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org

Reply via email to