http://qs1969.pair.com?node_id=202991


in reply to Re: Re: Re: Re: shebang: automagically obtaining
in thread shebang: automagically obtaining

well, from the little that i know the only thing i could say is, if you want to run the script in win32 that you got from a *NIX system, then the shebang doesn't matter since you name the file with a .pl ext and windows uses that to determane that its a perl script. so you could keep the original shebang from the previous system unalterate and the script would still work.
And for any other ideas, you'll have to ask some one else, I'm no expert.

jjdraco
learning Perl one statement at a time.
  • Comment on Re: Re: Re: Re: Re: shebang: automagically obtaining

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: shebang: automagically obtaining
by Anonymous Monk on Oct 05, 2002 at 04:38 UTC
    If you're running the script as a CGI under Apache on Win32 the shebang is required by default.
      that I didn't not know, but I haven't tried writing any CGI scripts either. I had just seen some one ask a similar question on this site and that was the answer given.

      jjdraco
      learning Perl one statement at a time.