Hi geeks,
I am playing with <Perl> section in my mod_perl 1.29. I am trying something like this:
<Perl>
package MyStartup;
use lib '/usr/local/myapp/perl';
#my 'perl' directory contains Apache/MyApp.pm and XML/MyModule.pm
use Apache::MyApp;
use XML::MyModule;
#everything seems OK, BEGIN blocks of my modules launched, but
XML::MyModule::myfunc();
...
</Perl>
#goes to error at server startup:
Undefined subroutine &XML::MyModule::myfunc called at...

Please, what is wrong?

Reply via email to