Close. The exec line would look like this:
And you don't need the exit line - when exec runs, it replaces the current process with the new process. The "current" process won't even exist anymore - processing continues at the beginning of the new program.exec($^X, $0, @ARGV);
In reply to Re^3: DynaLoader and LD_LIBRARY_PATH
by Tanktalus
in thread DynaLoader and LD_LIBRARY_PATH
by CountOrlok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |