Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Perl Script to Run other Scripts with proper pauses?

by sundialsvc4 (Abbot)
on Jul 05, 2017 at 16:46 UTC ( #1194278=note: print w/replies, xml ) Need Help??


in reply to Perl Script to Run other Scripts with proper pauses?

And, leave us not forget the very simple possibility of using a command-file, in your operating-system shell of choice, which simply executes one script, then the next, then the next.   If you need this to happen from within your Perl program, you could simply execute that command-file, which will run each of the three commands in sequence and not return to you until all three are done.   (And, if you need pauses, every operating system provides some kind of sleep command ...)   An additional advantage of this approach is that the command-file is very easily modified without changing the much-more-complicated Perl program that invokes it.

  • Comment on Re: Perl Script to Run other Scripts with proper pauses?

Replies are listed 'Best First'.
Re^2: Perl Script to Run other Scripts with proper pauses?
by Anonymous Monk on Jul 05, 2017 at 22:15 UTC

    An additional advantage of this approach is that the command-file is very easily modified without changing the much-more-complicated Perl program that invokes it.

    Nonsense. Bash or perl programming is programming.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1194278]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2017-09-26 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (292 votes). Check out past polls.

    Notices?