Hi all!
I'm using 2 perl scripts, "main.pl" that includes a script "extras.pl" (with extra functions in it)I want to do the following:
If a sub exists in both scripts (i.e. "Sub1()" exists in both scripts), Sub1() in extras.pl should be used, otherwise the function in main.pl should be used. In other words, the subs in extras.pl should "override" the ones in main.pl
I've done this in other object oriented languages ("overloading"), but in this case I can't use the OO capabilities...