boftx has asked for the wisdom of the Perl Monks concerning the following question:
I don't usually put a script in a package, so I'm not sure how the installer handles this. Typically, one would see the following in a perl script:
#!/usr/local/bin/perl
But suppose the perl executable is located somewhere else? How does one tell the installer (cpanm, CPAN, etc.) to change the #! path in the script? (I am presuming that script in a distro's bin dir will be installed in an appropriate location in the installing user's PATH.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Does an installer alter the #! path on a script?
by davido (Cardinal) on Nov 25, 2013 at 01:04 UTC | |
by boftx (Deacon) on Nov 25, 2013 at 01:13 UTC | |
by Anonymous Monk on Nov 25, 2013 at 01:58 UTC |