Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: Re: Re: shebang: automagically obtaining

by jjdraco (Scribe)
on Oct 05, 2002 at 04:20 UTC ( [id://202991]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://202991]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-19 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found