Using home-grown modules in mod-perl

2005-01-31 Thread Kent, Mr. John \(Contractor\)
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

Re: Using home-grown modules in mod-perl

2005-01-31 Thread Jonathan Vanasco
On Jan 31, 2005, at 10:55 AM, Kent, Mr. John ((Contractor)) wrote: will it work to NOT use EXPORT and say in the startup /use/lib qw (/users/webuser/homegrown/lib); use MyModule(); That's what I do.

Re: Using home-grown modules in mod-perl

2005-01-31 Thread Leo
Jonathan Vanasco wrote: On Jan 31, 2005, at 10:55 AM, Kent, Mr. John ((Contractor)) wrote: will it work to NOT use EXPORT and say in the startup /use/lib qw (/users/webuser/homegrown/lib); use MyModule(); That's what I do. Does your module work with a blessed references, or it a module containin

RE: Using home-grown modules in mod-perl

2005-01-31 Thread Kent, Mr. John \(Contractor\)
Re: Using home-grown modules in mod-perl Jonathan Vanasco wrote: > On Jan 31, 2005, at 10:55 AM, Kent, Mr. John ((Contractor)) wrote: > >> will it work to NOT use EXPORT and say in the startup >> >> /use/lib qw (/users/webuser/homegrown/lib); >> use MyModule();

RE: Using home-grown modules in mod-perl

2005-01-31 Thread Steven Lembark
-- "Kent, Mr. John \\(Contractor\\)" <[EMAIL PROTECTED]> Leo, I am not using OO coded modules. My modules contain methods. Other routines call this module's routines as you indicated: In order to solve other mod-perl problems I followed Stas's recommendation to call all my routines thusly: MyMod

Re: Using home-grown modules in mod-perl

2005-01-31 Thread Leo
Kent, Mr. John (Contractor) wrote: Leo, I am not using OO coded modules. My modules contain methods. Other routines call this module's routines as you indicated: In order to solve other mod-perl problems I followed Stas's recommendation to call all my routines thusly: MyModule::foo(...) So, sin

Re: Using home-grown modules in mod-perl

2005-01-31 Thread Leo
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 wil