in reply to How do I...Fool Windows into using *nix formatted shebang
You shouldn't have to do this anymore with Perl for Windows, as it automatically updates the Registry, so as long as you name your files with an appropriate extension - .pl or maybe .cgi then Windows should automatically detect these as Perl scripts and just treat your shebang line as a comment.
Update: You might also have to uncomment the following line in your httpd.conf file to ensure that Apache looks up the correct location within the Windows Registry rather than refering to the shebang line.
- wil
Update: You might also have to uncomment the following line in your httpd.conf file to ensure that Apache looks up the correct location within the Windows Registry rather than refering to the shebang line.
Update 2: This is documented at the Apache website.ScriptInterpreterSource registry
- wil
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: How do I...Fool Windows into using *nix formatted shebang
by S_Shrum (Pilgrim) on May 19, 2002 at 03:12 UTC |
In Section
Seekers of Perl Wisdom