[jifty-devel] weird shebang in jifty

Jesse Vincent jesse at bestpractical.com
Sat May 19 15:02:31 EDT 2007


On May 19, 2007, at 3:43 AM, Andreas J. Koenig wrote:

>   % head -3 /usr/local/perl-m-5.8.0 at 31162/bin/jifty
>   #!/usr/bin/env perl
>   use warnings;
>   use strict;
>
>
> I'm surprised why jifty has this shebang line that calls the wrong
> perl for people who have more than one perl around.
>
> Is this intentional or an accident?
>

That's a fairly standard idiom for "use the first perl in my path."
This is particularly important to those of us who have multiple perls  
installed locally, like say, on OSX.


I'm open to better ideas, htough.

-jesse

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070519/682e5302/PGP-0001.pgp


More information about the jifty-devel mailing list