in reply to how to execute multiple Perl scripts
If you are running Linux you can use the control operator && which executes the right command if the left command exited successfully (exit code 0). In your scripts ensure that scripts fail with non-0 exit codes so they will break the command list. Should work in Windows also judging from a quick search../step1.pl && ./step2.pl && ./step3.pl && ./step4.pl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to execute multiple Perl scripts
by LanX (Saint) on Dec 27, 2014 at 19:46 UTC |