yarffaJ nalA (jnala) wrote in lj_dev,
yarffaJ nalA
jnala
lj_dev

  • Music:

#!perl

Is there any reason why we're using #!/usr/bin/perl instead of #!perl ?

In the typical case where the only Perl is in /usr/bin, it doesn't matter; but if Perl is in a different directory, or if there are multiple Perls and PATH has been customized to put another directory before /usr/bin, #!perl will do the right thing and #!/usr/bin/perl won't.

Update: This was dumb. Forget I suggested it.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 20 comments