in reply to Re: CGI works, not with mod_perl??
in thread CGI works, not with mod_perl??

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.