Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 cooling their heels in the Monastery: (6)
As of 2015-07-07 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls