You are correct in the idea of passing parameters to the script via exec's argument list. Without knowing how your script handles arguments I can't say what's going wrong.
You might try inserting some throwaway print or warn statements to see what the script thinks is happening. Look for the values in @ARGV.
Do you still have the problem is you make your script executable and call it directly, instead of as an explicit call to perl?
After Compline,
Zaxo
In reply to Re^3: Running a long perl process
by Zaxo
in thread Running a long perl process
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |