Jos wrote:
> the whole point to setting a shebang is so you *dont* have to type
> /foo/bar/yada/quux/some/more/blah/perl

There is another imporant reason to set the shebang...CGI.

> you can, if on *nix (DOSneyland will ignore the shebang), say:
> /script

You can do this, but make sure you have set the permissions to allow it to
be executed.

> now, if you're in DOSneyland, like mentioned above, setting the shebang
has
> little effect, other then switches passed to the interpreter, ie:
> #!c:\perl\bin\perl -w
>
> will cause perl to run under -w, but does little for you in terms of
> choosing the correct interpreter for the script.

I'm basically ignorant about perl in windows.  This is good to know.

Thanks for clearing things up.

=====
Dave Hoover
"Twice blessed is help unlooked for." --Tolkien
http://www.redsquirreldesign.com/dave


Reply via email to