Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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"

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

    Digest::MD2 came with the ActiveState Perl installation.

    There's only one Apache installation.

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

    #mod_perl LoadFile "F:/Net/Perl/bin/perl58.dll" LoadModule perl_module modules/ PerlRequire "F:/Net/Apache Group/Apache2/conf/" 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://411224]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2017-07-21 03:21 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (318 votes). Check out past polls.