By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,845 Members | 1,422 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,845 IT Pros & Developers. It's quick & easy.

Executing different scripts from perl

P: 36
Hello,
My problem is i want to execute many perl programs but i do do not want to wait for for any of these programs. Let these programs execute independently.

i have totally 10 perl scripts. I will start these scrpt by using system("file.pl").....

these should not wait for other to complete . Just i should execute as usuall . like parally i want to start the scripts.
these scripts should not wait for ther scripts..
Jan 22 '08 #1
Share this Question
Share on Google+
3 Replies


numberwhun
Expert Mod 2.5K+
P: 3,503
Hello,
My problem is i want to execute many perl programs but i do do not want to wait for for any of these programs. Let these programs execute independently.

i have totally 10 perl scripts. I will start these scrpt by using system("file.pl").....

these should not wait for other to complete . Just i should execute as usuall . like parally i want to start the scripts.
these scripts should not wait for ther scripts..
Unfortunately, I don't know how you would tell Perl not to wait for the scripts to finish. I am hopeful that one of our experts has an answer for you on this.

Regards,

Jeff
Jan 23 '08 #2

P: 36
Please help me this...


Hello,
My problem is i want to execute many perl programs but i do do not want to wait for for any of these programs. Let these programs execute independently.

i have totally 10 perl scripts. I will start these scrpt by using system("file.pl").....

these should not wait for other to complete . Just i should execute as usuall . like parally i want to start the scripts.
these scripts should not wait for ther scripts..
Jan 23 '08 #3

KevinADC
Expert 2.5K+
P: 4,059
Look into threads and threads::shared. I have no practical experience using threads so I can't answer questions on it's usage.

perldoc: threads
Jan 23 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.