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.)