[ic] Using my own tags and perl modules

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Thu May 9 13:26:01 2002


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