Subject: | inconsistent #! for programs |
The use of #! to indicate the path to perl for scripts is inconsistent.
The ones that use paths such as /usr/bin/perl or ./perl simply won't
work. C:\strawberry\perl\bin\perl.exe is ok, but I believe a bare perl
is more portable.
Here is a list of the scripts and what they use in
strawberry-perl-5.10.1.1-portable.zip:
/C/Strawberry/perl/bin/enc2xs: %!./perl
/C/Strawberry/perl/bin/piconv: %!./perl
/C/Strawberry/perl/bin/json_xs: %!/opt/bin/perl
/C/Strawberry/perl/bin/corelist: %!/usr/bin/perl
/C/Strawberry/perl/bin/cpan2dist: %!/usr/bin/perl
/C/Strawberry/perl/bin/cpaninject: %!/usr/bin/perl
/C/Strawberry/perl/bin/cpanp: %!/usr/bin/perl
/C/Strawberry/perl/bin/cpansign: %!/usr/bin/perl
/C/Strawberry/perl/bin/crc32: %!/usr/bin/perl
/C/Strawberry/perl/bin/instmodsh: %!/usr/bin/perl
/C/Strawberry/perl/bin/largeprimes: %!/usr/bin/perl
/C/Strawberry/perl/bin/lwp-download: %!/usr/bin/perl
/C/Strawberry/perl/bin/lwp-dump: %!/usr/bin/perl
/C/Strawberry/perl/bin/lwp-mirror: %!/usr/bin/perl
/C/Strawberry/perl/bin/lwp-request: %!/usr/bin/perl
/C/Strawberry/perl/bin/lwp-rget: %!/usr/bin/perl
/C/Strawberry/perl/bin/makerandom: %!/usr/bin/perl
/C/Strawberry/perl/bin/minicpan: %!/usr/bin/perl
/C/Strawberry/perl/bin/parinstallppd: %!/usr/bin/perl
/C/Strawberry/perl/bin/perldoc: %!/usr/bin/perl
/C/Strawberry/perl/bin/pip: %!/usr/bin/perl
/C/Strawberry/perl/bin/pler: %!/usr/bin/perl
/C/Strawberry/perl/bin/ppd2par: %!/usr/bin/perl
/C/Strawberry/perl/bin/ppm.pl: %!/usr/bin/perl
/C/Strawberry/perl/bin/ptar: %!/usr/bin/perl
/C/Strawberry/perl/bin/ptardiff: %!/usr/bin/perl
/C/Strawberry/perl/bin/pwhich: %!/usr/bin/perl
/C/Strawberry/perl/bin/cpan: %!/usr/local/bin/perl
/C/Strawberry/perl/bin/exe_update.pl: %!/usr/local/bin/perl
/C/Strawberry/perl/bin/prove: %!C:\strawberry\perl\bin\perl.exe
/C/Strawberry/perl/bin/config_data: %!C:\strawberry\perl\bin\perl.exe
/C/Strawberry/perl/bin/cpandb: %!C:\strawberry\perl\bin\perl.exe
/C/Strawberry/perl/bin/bdf2gdfont.pl: %!perl
/C/Strawberry/perl/bin/dbilogstrip: %!perl
/C/Strawberry/perl/bin/dbiprof: %!perl
/C/Strawberry/perl/bin/dbiproxy: %!perl
/C/Strawberry/perl/bin/findrule: %!perl
/C/Strawberry/perl/bin/pod2man: %!perl
/C/Strawberry/perl/bin/pod2text: %!perl
/C/Strawberry/perl/bin/shasum: %!perl