[sf-perl] dynamic #! line

yary not.com at gmail.com
Mon Mar 23 21:10:58 PDT 2009


Depending on the situation, you might be able to eliminate the need
for the shebang by calling perl explicitly, that is, use

/path/to/perl /usr/local/bin/myscript -arg foo ...

instead of

/usr/local/bin/myscript -arg foo ...

when you need to run "myscript".

Works if you get to write the install instructions for "myscript", and
can depend on people following them.


More information about the SanFrancisco-pm mailing list