[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Using my own tags and perl modules
On Thu, May 09, 2002 at 02:25:12PM -0300, 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.
see 'use lib' in any perl documentation. Look at first 100 or so lines
of interchange script for examples.
>
> 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
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux