[ic] include GlobalSub in interchange.cfg

Ed LaFrance interchange-users@interchange.redhat.com
Mon Apr 1 11:06:01 2002


At 10:59 PM 3/31/2002 -0500, you wrote:
>I see that I can define a GlobalSub in interchange.cfg and finally
>release my code from the oppression of Safe. But my GlobalSub is getting
>pretty long and I would like to put it all in it's own file.
>
>So can I put something like this in interchange.cfg?
>
>include GlobalSub /dirpath/mysub.pl
>
>I want to tell ic.cfg to grab my GlobalSub file from some other place.

Just do this in interchange.cfg:

include relativepath/*.pl


...then put your Globalsub in that file, starting with the directive, i.e.:

Globalsub <<EOS
         (body of sub here)
EOS


- Ed L.

>

===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================