in reply to Re^6: importing functions with "PerlModule" Apache directive
in thread importing functions with "PerlModule" Apache directive

I also found (it seems) the reason of the weird behavior: the CGI module makes use of AUTOLOAD.

Nope, AUTOLOAD doesn't have anything to do with exporting

And since Registry compiles your program into its own namespace, there is no way exporting stuff (which you don't do) in startup.pl into namespace main would affect the custom Registry namespace your program is compiled in

Are you using unmodified CGI.pm? Which version?

  • Comment on Re^7: importing functions with "PerlModule" Apache directive

Replies are listed 'Best First'.
Re^8: importing functions with "PerlModule" Apache directive
by acanfora (Novice) on May 09, 2012 at 14:24 UTC
    CGI is 3.59, unmodified, of course :)