Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: shebang line - foreign to me

by gregor-e (Beadle)
on Dec 27, 2002 at 16:13 UTC ( [id://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".

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://222562]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (1)
As of 2024-04-25 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found