Subject: .EXE perl shim for 32 bit windows
From: [email-masked] (John Buckman)
Date: 11 Sep 1996 13:17:44 GMT
Newsgroups: comp.lang.perl.announce,comp.lang.perl.misc

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-masked]