No, I'm saying plain-vanilla CGI.pm scripts are not always mod_perl-compatible, but they can be made to be. See
http://perl.apache.org/dist/mod_perl_traps.html. Your precise problem is described and explained about 1/3 of the way down under "Perl Modules and Extensions".