in reply to how to execute multiple Perl scripts

./step1.pl && ./step2.pl && ./step3.pl && ./step4.pl
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.

Replies are listed 'Best First'.
Re^2: how to execute multiple Perl scripts
by LanX (Saint) on Dec 27, 2014 at 19:46 UTC
    For completeness these are shell commands not perl code.

    If "master script" means Perl, then the OP should have a look at exit and system or qx or do (depending on what he wants)

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)