[San-Diego-pm] Shebang path issue

Greg Rasberry grasberry at razcon.com
Fri Nov 22 12:15:38 PST 2013


Hi Joel,

For me I just placed a copy the needed perl exe's dll's (five files) in  a
new folder named C:\usr\bin.  Not pretty but it seems to work well. I also
made a note in the folder to upgrade this when perl is upgraded.

R,
Greg R.


On Fri, Nov 22, 2013 at 11:20 AM, Joel Fentin <joel at fentin.com> wrote:

> 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
> _______________________________________________
> San-Diego-pm mailing list
> San-Diego-pm at pm.org
> http://mail.pm.org/mailman/listinfo/san-diego-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/san-diego-pm/attachments/20131122/46c4056b/attachment.html>


More information about the San-Diego-pm mailing list