On Sat, 30 Oct 2004, Todd Lewis wrote:

> I have serveral perl scripts that I've written seperately. Now I want 
> to run them sequentially. I don't want to cut and paste them into the 
> same file to be run. Makes reusablity a pain. Is there a method to do 
> this? I've tried searching but it appears I'm not using the correct 
> search words.
> 
> I'm using linux, and the standard command line.

There's nothing wrong with sticking them together in a shell script:

  $ cat ~/bin/run_my_scripts.sh
  #!/bin/sh

  cd ~/bin
  ./script1.pl
  ./script2.pl
  ./script3.pl

  $ ~/bin/run_my_scripts.sh
  # ... scripts run sequentially ...



-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to