in reply to CGI works, not with mod_perl??

I would verify that you're using the same Perl executable with CGI and mod_perl.

Compare:

$ perl -e 'print "INC = @INC\n"'
with similar code in the mod_perl version and make sure they're the same.

Liz

Replies are listed 'Best First'.
Re: Re: CGI works, not with mod_perl??
by sgifford (Prior) on Jul 20, 2003 at 16:07 UTC
    Also, if anything in @INC is relative to the current directory (like .), which it almost certainly will be, make sure that the current directory is the same in both processes.