Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
We don't bite newbies here... much
 
PerlMonks  

Re: [error] Can't locate object method "new" via package "Digest::MD2"

by elwarren (Curate)
on Nov 30, 2004 at 16:59 UTC ( #411224=note: print w/ replies, xml ) Need Help??


in reply to [error] Can't locate object method "new" via package "Digest::MD2"

did you setup a proper PERL5LIB and possibly use Digest::MD2; in your mod_perl startup script? I believe this changed with Apache2, how did you setup your environment?


Comment on Re: [error] Can't locate object method "new" via package "Digest::MD2"
Re: [error] Can't locate object method "new" via package "Digest::MD2"
by rctay (Novice) on Dec 01, 2004 at 01:16 UTC

    fglock:
    Digest::MD2 came with the ActiveState Perl installation.

    BraveTwoZero:
    There's only one Apache installation.

    elwarren:
    Here's part of httpd.conf related to mod_perl:

    #mod_perl LoadFile "F:/Net/Perl/bin/perl58.dll" LoadModule perl_module modules/mod_perl.so PerlRequire "F:/Net/Apache Group/Apache2/conf/startup.pl" Alias /perl/ "F:/Net/Apache Group/Apache2/perl/" <Location /perl> SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders PerlSendHeader On </Location> <Location /cgi-bin> SetHandler cgi-script Options +ExecCGI </Location> <Location /perl-status> SetHandler modperl PerlResponseHandler Apache::Status Order Deny,Allow Allow from all </Location>

    The thing to note is that it works with cgi-bin, and not in the /perl directory.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://411224]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-04-19 02:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (475 votes), past polls