Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: shebang line - foreign to me

by gregor-e (Beadle)
on Dec 27, 2002 at 16:13 UTC ( #222562=note: print w/ replies, xml ) Need Help??


in reply to shebang line - foreign to me

I'll add my voice to the chorus - #!/usr/bin/perl is best, even on windows systems since cygwin is a pretty common perl base under windows.

As for shebang, the American Heritage Dictionary says:

she·bang (shə-băng')
n. Slang.
A situation, organization, contrivance, or set of facts or things: organized and ran the whole shebang.

(Origin unknown.)

A one-size-fits-all word that pretty much covers the #! contrivance. Though they say "Origin unknown", I suspect it relates back to cannon, which make a slight "shh" sound as the touchhole is lit, followed in a few msec by "bang".


Comment on Re: shebang line - foreign to me
Re: Re: shebang line - foreign to me
by HamNRye (Monk) on Dec 27, 2002 at 17:28 UTC

    Most every script I have ever recieved either had "/bin/perl" "/usr/bin/perl" or "/usr/local/perl" but I personally use "/usr/bin/perl" since that seems to be the most common usage. (Plus, that's what it says on all of the shirts at Thinkgeek.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2014-08-21 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (134 votes), past polls