RE: Using home-grown modules in mod-perl

[prev] [thread] [next] [Date index for 2005/01/31]

From: Steven Lembark
Subject: RE: Using home-grown modules in mod-perl
Date: 17:20 on 31 Jan 2005

-- "Kent, Mr. John \\(Contractor\\)" <kent@xxxxxx.xxxx.xxx>

> 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, since I am doing it this way I should use in my startup:
>
> /use/lib qw (/users/webuser/homegrown/lib);
> use MyModule();

or just:

	use FindBin::libs;

and have your stuff in a ./lib directory in or above $Bin and
be done with it. Leaves your code more portable (on *NIX at
least).

        -- 
        Steven Lembark                                       85-09 90th Street
Workhorse Computing                                Woodhaven, NY 11421
lembark@xxxxxxx.xxx                                     1 888 359 3508

Using home-grown modules in mod-perl
Kent, Mr. John \(Contractor\) 15:55 on 31 Jan 2005

Re: Using home-grown modules in mod-perl
Jonathan Vanasco 16:09 on 31 Jan 2005

RE: Using home-grown modules in mod-perl
Kent, Mr. John \(Contractor\) 17:15 on 31 Jan 2005

RE: Using home-grown modules in mod-perl
Steven Lembark 17:20 on 31 Jan 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52