|Perl Monk, Perl Meditation|
Re: How to set (environment) variables for the scriptby Skeeve (Vicar)
|on Jun 10, 2010 at 14:58 UTC||Need Help??|
This gave me the cleanest solution, I guess: perldoc perlrun
My script starts now like this:
Thanks to all who replied!
Update: In reply to Arge1 below and because I noticed today That I myself needed parameters to my script.
I appended "$@" to my exec above. This will append all parameters, individually quoted, to the exec command for my perl script to handle them.