[ic] Changing as subroutine

Howard Lowndes interchange-users@icdevgroup.org
Tue Feb 25 06:22:00 2003


I need to change the subroutine guess_cc_type in the Vend::Order module to 
include another selector for Australian Bankcard.

Is it just a case of copying the (modified) subroutine into 
interchange.cfg as a GlobalSub or into catalog.cfg as a Sub (and 
restarting Interchange of course), or is there more to setting up 
GlobalSub and Sub; IOW do I have to do other things to the subroutine?

I find the doco at 4.1 in the template guide is a bit esoteric.

-- 
Howard.
LANNet Computing Associates - Your Linux people <http://www.lannetlinux.com>
------------------------------------------
Flatter government, not fatter government - Get rid of the Australian states.
------------------------------------------
There are 10 types of people in the world, those who understand binary, 
and those who don't.