Re: Calling a Perl Script from Another Perl Script

2003-02-14 Thread Randal L. Schwartz
> "Jeff" == Jeff Westman <[EMAIL PROTECTED]> writes: Jeff> It's not that I am resistant. Both scripts are used by other processes Jeff> (called from shell scripts, not perl scripts), so it is pointless to add it Jeff> as a sub-routine, otherwise that would be the ideal method I think. In tha

Re: Calling a Perl Script from Another Perl Script

2003-02-12 Thread Paul
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, ind

Re: Calling a Perl Script from Another Perl Script

2003-02-12 Thread Jeff Westman
--- 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

Re: Calling a Perl Script from Another Perl Script

2003-02-12 Thread Jeff Westman
Good point, thanks for the info. That might be the choice I go with. --- simran <[EMAIL PROTECTED]> wrote: > If you just wanted to use the other script and not return, look > at "exec": > > % perldoc -f exec > > simran. > > On Thu, 2003-02-13 at 09:45, Jeff Westman wrote: > > This seems sim

Re: Calling a Perl Script from Another Perl Script

2003-02-12 Thread simran
If you just wanted to use the other script and not return, look at "exec": % perldoc -f exec simran. On Thu, 2003-02-13 at 09:45, 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. > > I kn

Re: Calling a Perl Script from Another Perl Script

2003-02-12 Thread Wiggins d'Anconia
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 know I can do this with a system call (or backticks). Is there a better way? If not, what is the pref

Calling a Perl Script from Another Perl Script

2003-02-12 Thread Jeff Westman
This seems simple enough I have two separate, independent perl scripts. I want to call one perl script from the other script. 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