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?

--

% perl -v

This is perl, version 5.005_03 built for i386-linux

[snip]
% perl -MApache::Constants -e 'print join "\n",values %INC'
/usr/lib/perl5/5.005/i386-linux/Apache/Constants.pm
/usr/lib/perl5/5.005/AutoLoader.pm
/usr/lib/perl5/5.005/Exporter.pm
/usr/lib/perl5/5.005/strict.pm
/usr/lib/perl5/5.005/i386-linux/Apache/Constants/Exports.pm
/usr/lib/perl5/5.005/i386-linux/mod_perl.pm
/usr/lib/perl5/5.005/i386-linux/DynaLoader.pm
/usr/lib/perl5/5.005/vars.pm

% uname -a
Linux server.serensoft.com 2.0.36 #2 Sun Feb 21 15:55:27 EST 1999 i586 unknown

and, not that it matters in this instance...

% apache -v
Server version: Apache/1.3.9 (Unix) Debian/GNU
Server built:   Apr 29 2000 10:48:16

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Their is five errers in this sentance.

Reply via email to