Kent, Mr. John (Contractor) wrote:
Greetings,
I have some home-grown modules that I wish to have pre-compiled into a heavy Apache server via mod-perl.
Must my module EXPORT the desired sub routines, and must the startup.pl file say
/use/lib qw (/users/webuser/homegrown/lib); use MyModule;
OR
will it work to NOT use EXPORT and say in the startup
/use/lib qw (/users/webuser/homegrown/lib); use MyModule();
In other words must I specifically export sub-routines and bring them all into the name space for mod-perl to compile them into Apache?
Thank you, John Kent Webmaster Naval Research Laboratory Monterey, CA http://www.nrlmry.navy.mil/sat_products.html
Shouldn't it be
use lib qw(/users/webuser/homegrown/lib);