I'm developing a perl script which expected to be downloaded by Mac users with a very small knowledge of shell, linux etc, let's say office managers and accountants.
After the downloading the script should be executed just by double-clicking via GUI.
My goal is to make this as painless as possible to non-tech-savvy user.
My doubts are:
- after the downloading the script won't have the executable bit
- if the perl executable is not at the default location then I should write something instead of
#!/usr/bin/perl. What should I write there? Is there any other way except open a console and type