in reply to Using Perl, some Windows version and #!usr/bin/perl, WHY?

Well, for one thing, the use of the shebang line is just habit. For another, the perl interpretter will honor command line switches following "perl" on the shebang line... regardless of what's between the shebang and the "perl".

Mostly, though, as I said... I think it's just habit.

------------ :Wq Not an editor command: Wq

Replies are listed 'Best First'.
Re: Re: Using Perl, some Windows version and #!usr/bin/perl, WHY?
by muba (Priest) on Mar 20, 2004 at 21:21 UTC
    Ok... that makes sense. Still it's strange and confusing to use /usr/bin/perl. Isn't there an theory in which it is said you should use the right thing for the right job? Doesn't that apply here?