Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Using Perl, some Windows version and #!usr/bin/perl, WHY?

by etcshadow (Priest)
on Mar 20, 2004 at 21:01 UTC ( [id://338362]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://338362]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-25 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found