|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: How to use dynamic execution path instead of absolut.by busunsl (Vicar) |
| on Jan 14, 2003 at 10:14 UTC ( #226782=note: print w/ replies, xml ) | Need Help?? |
|
On Unix system the following should work: which finds (hopefully) your perl. The backticks execute the found perl. The -x switch forces perl to skip everything before #!perl $0 is the scriptname. $* are all commandline parameters.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||