> Hi all, Howdy
> > I have this scenario: > I have a 'main' program that needs to call on progA under > condtions A, progB under conditions B, etc. > > Now, I would like the progA, progB, progC to remain > independent of the 'main' program at all times. The only > thing I would like to connect them is the paramteres.... Yes, > I know this sounds like the place to use Modules and > Packages, however, I don't think a module can have a 'main' > program of it's own. The reasons for keeping this > independence is to keep the whole system portable and > modular. At runtime, the users may choose to leave out progC > and hence the program will not even load this 'program' or > set of programs.... > > Can this be done? Sure, I think this is what you mean: In Main prog: if(...) { print qx(./progA.pl 'joe=mama'); } elsif(...) { print qx(./progB.pl 'ben=doevr'); } elsif(...) { print qx(./progC.pl 'foo=bar'); } HTH DMuey > > I am not sure I am explaining this correctly, so if not, I > will try again. > > Thanks in advance. > Hamish > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]