develooper Front page | perl.perl5.porters | Postings from April 2010

Fwd: [rt.cpan.org #56674] inconsistent #! for programs

From:
Curtis Jewell
Date:
April 16, 2010 13:16
Subject:
Fwd: [rt.cpan.org #56674] inconsistent #! for programs
Message ID:
1271448997.30576.1370375985@webmail.messagingengine.com
Just got this, and I'm wondering why this is the case. (there's probably
a logically inscrutable reason for it...)

[In Strawberry's case, the shebang should be #!perl, I would think. The
question is how to set it to that during building.]

--Curtis

----- Original message -----
From: "https://hike14k.myopenid.com/ via RT"
<bug-Perl-Dist-Strawberry@rt.cpan.org>
To: undisclosed-recipients: ;
Date: Fri, 16 Apr 2010 13:33:45 -0400
Subject: [rt.cpan.org #56674] inconsistent #! for programs 

Fri Apr 16 13:33:44 2010: Request 56674 was acted upon.
Transaction: Ticket created by https://hike14k.myopenid.com/
       Queue: Perl-Dist-Strawberry
     Subject: inconsistent #! for programs
   Broken in: (no value)
    Severity: Normal
       Owner: Nobody
  Requestors: orgs.perl@niss.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=56674 >


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


--
Curtis Jewell
csjewell@cpan.org           http://csjewell.dreamwidth.org/
perl@csjewell.fastmail.us   http://csjewell.comyr.org/perl/

"Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c

Strawberry Perl for Windows betas: http://strawberryperl.com/beta/




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About