Gossamer Forum
Home : General : Perl Programming :

open more scripts

Quote Reply
open more scripts
Hi,
I have to open perl scripts from another perl script.
This works with the exec-command but then the script stops after it opened the first script. How can I make a loop to open several scripts from one script?
Thanks...
Quote Reply
Re: [karib] open more scripts In reply to
Could I ask what you are doing executing so many external scripts?
Quote Reply
Re: [Paul] open more scripts In reply to
There is one script that is executed every minute. It checks a MySQL DB for specific entries. These entries contain info over connections that have to be made between the server and some routers.
I want to open the script that takes care of the actual connection for every connection that has to be made.
If there is a better way to do it, idea's and tips are welcome... I'm new to all this stuff.
Quote Reply
Re: [karib] open more scripts In reply to
Hi,

How about just one script and loop for each entries to get the information, then check.

Because many scripts will become difficult to mange

Hope that helps

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [karib] open more scripts In reply to
http://www.perldoc.com/...pod/func/system.html

Cheers,

Alex
--
Gossamer Threads Inc.