[San-Diego-pm] Shebang path issue
Joel Fentin
joel at fentin.com
Fri Nov 22 11:20:51 PST 2013
At the perl meeting last night, I was told that perl in windows
ignores the shebang. What I should do is move the perl path to the
left of all other path statements to get it to work that way.
I changed the path here:
Start>Settings>Control Panel>System>Advanced>Environment Variables
It's true if I shell to DOS and type:
C:\Apache2.2\cgi-bin\Learn>perl showmodules.pl
The program works and shows me the perl modules.
However, if I am running the Apache server, and I type:
http://127.0.0.1/cgi-bin/Learn/showmodules.pl
The she shebang must be:
#!/perl/bin/perl
#!/usr/bin/perl will not work.
Is there a reasonable workaround?
--
Joel Fentin tel: 760-749-8863
Biz Website: http://fentin.com
Personal Website: http://fentin.com/me
More information about the San-Diego-pm
mailing list