You might want to take a look at do(). It's like require or eval, sort of. Maybe just what you were looking for. :)
--- Jeff Westman <[EMAIL PROTECTED]> wrote: > > --- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote: > > Jeff Westman wrote: > > > This seems simple enough.... I have two separate, independent > perl > > scripts. > > > I want to call one perl script from the other script. > > > > > > > Sometimes it just is that simple :-). > > I guess I am thinking in terms of the overhead of a system call while > the > first script sits and waits. > > > > I know I can do this with a system call (or backticks). Is there > a > > better > > > way? If not, what is the preferred method? (I don't want to > make one a > > sub > > > routine of the other). > > > > > > > The better way would be to take the like functionality and roll it > into > > a perl module that both scripts then use. But you seem resistant > to > > this method.... so back to 'system' and backticks. > > It's not that I am resistant. Both scripts are used by other > processes > (called from shell scripts, not perl scripts), so it is pointless to > add it > as a sub-routine, otherwise that would be the ideal method I think. > > Thanks for your input. > > > Jeff > > __________________________________________________ > Do you Yahoo!? > Yahoo! Shopping - Send Flowers for Valentine's Day > http://shopping.yahoo.com > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]