Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How do you run a perl script without typing the extension on NT?by wil (Priest) |
on Jun 06, 2002 at 20:07 UTC ( [id://172341]=note: print w/replies, xml ) | Need Help?? |
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.
However, make sure that you 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. This is documented at the Apache website. - wil
In Section
Seekers of Perl Wisdom
|
|