I've tried using system() with fork(), tried exec(), and still not getting what I need.
I want to write a Perl script which executes, let's say, a different Perl script 5 times in a row (sending it different parameter values), but have it run concurrently. I realize I could turn my script into a .pm file and reference it but I'd prefer to keep the child script independent of the parent...
- system() works, but executes the commands consecutively (makes sense per doc)
- exec() doesnt work - it only executes the first method (makes sense per doc)
- I added a fork() to the child perl script and then tried using system()
- this did not work either.
- backtick command ' documents says it works the same as system()...
Isn't there a simple way in Perl (im using WindowsXP) to execute a process, and not care about the return values or antyhing and just continue on into the next line of the parent script?