Ok, here is the deal. I am able to run the system() command in the shell successfully. However, when running this via the script, the results are null, meaning there is no log file. Is there a way to tell perl to wait until system() command completes between each iteration?