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