Yes, that should work fine. I'd call exec with list arguments. The form of your question has syntax errors which should cause it to fail. Here's one way, exec '/path/to/perl', '-T', '/path/to/mylongperlprogram.pl' or die $!;
After Compline,
Zaxo
In reply to Re: Running a long perl process
by Zaxo
in thread Running a long perl process
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |