[ic] Using my own tags and perl modules

Marty Tennison interchange-users@interchange.redhat.com
Thu May 9 14:29:01 2002


On Thu, 2002-05-09 at 10:25, scottm@cs.dal.ca wrote:
> 
> 
> I would like to have my own perl modules (in house) installed under my
> catalog directory (in lib, or something) and then create UserTags that
> use the perl modules.
> 
> When I do so globally (i.e., install the modules under the global lib
> directory and Require them in catalog.cfg) they work, but when I try
> to just have them under my own catalog they fail to load (the perl
> modules can't be found).
> 
> Is there some way to make the catalog.cfg file use my own search path
> in addition to the global ones where modules are normally searched
> for when I restart Interchange.
> 
> For example I would like it if:
> 
>  - catalog.cfg is located at "/home/interch/catalogs/StoreName/catalog.cfg"
> 
>  - local lib directory is located at
>    "/home/interch/catalogs/StoreName/lib" (i.e. my modules that I
>    wrote are there, e.g. MyStoreUtils.pm)
> 
>  - user tags are located at "/home/interch/catalogs/StoreName/usertag"
>    (i.e. my tags that I wrote are there, e.g. MyStoreTags.tag and are
>    "included" in the catalog.cfg file)
> 
>  - I want my module (MyStoreUtils.pm) to be usable by my tags (written
>    in MyStoreTags.tag). 
> 
>  - My problem is that no matter what I do Interchange cannot find the
>    perl modules.
> 
> Scott

Hi Scott,

Your probably looking of the PERL5LIB environment variable.   Lots of
good info on the web about it.