I don't know about the Apache bit, that's probably in the
documentation under 'CGI' or some such. From what little I know about
Apache, you'll have to tell it in a config file "if the inbound request is
for a cgi, run this perl file for the output."
There _is_ a perl-to-optimized C "compiler" that would let you
turn perl scripts into standalone .exe files. But I don't think that's
what you're after. Perl isn't a compiled language, it's interpreted, and
the interpreter is simply perl.exe. If you add the directory containing
perl.exe into your PATH in your autoexec.bat file you should be able to
invoke it anywhere in the directory tree, like so:
C:\mysrc\perl:>perl -w somescript.pl
[output]
C:\mysrc\perl:>
(The -w switch turns on all warnings, which is a good debugging tool.)
If you want to do CGI work (Apache + perl, hmmm ;) ), look into CGI.pm.
It makes it _much_ easier, to the point of being child's play. It
probably came with ActivePerl's standard set o' modules.
If you're doing this on a win32 (esp. win95/8) you should _seriously_
consider switching to a unix web serving platform for your production
server (more secure, more stable, better handling of multiprocessing,
etc.).
Hope that helps...
mike
*****************Michael Orion Jackson******************
***********TAMS Class of 96/UT Class of 200?************
*********************Random Quote:**********************
* I like things beginning with the letter C! *
*(Chem, CS, Christy Banta, C/C++, CGI.pm, Cooking, etc)*
********************************************************
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]