Path: news.ruhr-uni-bochum.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!news.gtn.com!blackbush.xlink.net!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!math.ohio-state.edu!howland.erols.net!newsfeed.internetmci.com!in3.uu.net!nntp.teleport.com!usenet
From:
[email protected] (John Buckman)
Newsgroups: comp.lang.perl.announce,comp.lang.perl.misc
Subject: .EXE perl shim for 32 bit windows
Followup-To: comp.lang.perl.misc
Date: 11 Sep 1996 13:17:44 GMT
Organization: Walter Shelby Group Ltd.
Lines: 39
Approved:
[email protected] (comp.lang.perl.announce)
Message-ID: <
[email protected]>
NNTP-Posting-Host: kelly.teleport.com
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: news.ruhr-uni-bochum.de comp.lang.perl.announce:422 comp.lang.perl.misc:44959
I've created a tiny Windows shim for running perl scripts as .EXEs
under 32 bit windows. It includes instructions, C source, and is in
the public domain.
It's available at
ftp://ftp.shelby.com/etc/shim100.zip
---
Here's the README file:
A super-simple perl shim program for 32 bit windows. v1.00
Executes "perl.exe shim.pl" for whatever filename it currently is
named to.
Example: if you have a script called "myscript.pl" and you want this
exe to run it, rename shim.exe to myscript.exe. When you run
myscript.exe, the command line "perl.exe myscript.pl" will be run for
you. You can then put /cgi-bin/myscript.exe in your browser URL.
This works around the security bug in the Netscape Web server, which
asks for you to put perl.exe in your cgi-bin directory (don't do it!).
This script has been tested on the Netscape http server and EMWAC.
For reasons I don't understand, it doesn't work for Apache/NT.
perl.exe needs to be in the PATH for this to work, usually in
\perl5\bin. You may need to modify your "control panel/system/PATH"
accordingly.
If you want to build shim.exe yourself, the source code and MSVC
makefile are in the .\source directory.
No copyright, this program is in the public domain.
Current version is always as
ftp://ftp.shelby.com/etc/shim*.zip
John Buckman
[email protected]