By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,835 Members | 2,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,835 IT Pros & Developers. It's quick & easy.

Using a perl cgi script in windows

P: 67
Ok in linux the first line in your script is

Expand|Select|Wrap|Line Numbers
  1. #!/usr/bin/perl -w
What is it on windows if your perl directory is in c:\perl
Feb 21 '09 #1
Share this Question
Share on Google+
2 Replies


eWish
Expert 100+
P: 971
The path would be something like this:
Expand|Select|Wrap|Line Numbers
  1. #!c:\perl\perl.exe
Feb 21 '09 #2

numberwhun
Expert Mod 2.5K+
P: 3,503
Also know that when coding Perl in the Windows world, the she-bang line (that first line in the script) is not read unless Perl is triggered with the -T option (at least I do remember reading that somewhere).

I know you have cgi in the subject, but wanted to point that out.

Regards,

Jeff
Feb 21 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.