-1

Hey Guys,

Have u any Idea how to call a perl script within my main script in a loop.
I used system and exec both, but it seems to be not working. I want the second calling of the script shouldn't depend on the first calling.... all should run independently............

4
Contributors
5
Replies
6
Views
8 Years
Discussion Span
Last Post by onaclov2000
0

you can try this: open the file, slurp it all in at once and use eval to execute the code.

0

Calling another perl script in a loop should not be difficult but the last part of your question makes no sense to me.

I want the second calling of the script shouldn't depend on the first calling.... all should run independently............

0

I am calling the script as exec(called_script.pl, arg1), its calling first time , second execution is not going, it is killing the main process. My second question refers all the time loop increases it should run another instance of the script. Ok can u just tell how to call the script in a loop. Thanks in advance

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.