Re: [error] Can't locate object method "bootstrap" via package "DBI"

[prev] [thread] [next] [Date index for 2004/11/29]

From: Randy Kobes
Subject: Re: [error] Can't locate object method "bootstrap" via package "DBI"
Date: 15:43 on 29 Nov 2004
On Mon, 29 Nov 2004, Ray Chuan wrote:
[ ... ]
> >If you don't have another Perl, do you have problems using
> >other modules with an xs component? For example, does
> >    use Digest::MD2;
> >cause problems (assuming you have Digest::MD2 installed)?
>
> here's the script i ran:
> --
> #!F:/Net/Perl/bin/Perl.exe
> print "Content-type: text/plain\n\n";
> use strict;
> # OO style
> use Digest::MD2;
> my $ctx = Digest::MD2->new;
> my $data = "foo";
> $ctx->add($data);
> my $digest = $ctx->digest;
> --
> #error.log
> [error] Can't locate object method "new" via package "Digest::MD2" at (eval
> 16) line 9.\n
>
> it works fine in cgi-bin, but it doesn't in the mod_perl dir...

Strange ... I assume that a simple ModPerl::Registry script
under the mod_perl directory that, for example, just prints
out the environment variables (without using any other
module) works OK? And what about using a module (eg, CGI)
that doesn't have an xs component - does that cause any
problems?

        -- 
        best regards,
randy

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

Re: [error] Can't locate object method "bootstrap" via package "DBI"
Randy Kobes 15:43 on 29 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52