View Full Version : Perl on win32 localhost
filburt1
Thu 31st Mar '05, 4:35pm
I plan on installing Perl on my Windows XP machine running Apache 2 for the purpose of installing the W3C markup validator. The installation instructions (http://validator.w3.org/docs/install.html) state a list of modules needed. Does Perl come with these by default, or do I have to install them--if they're even available for Windows? I have never used Perl before, ever, on any platform.
As a side question, are there any web services using SOAP, WSDL, etc. for validating markup according to W3C standards? My goal is to validate custom code entirely server-side and displaying the results on my site, and the last thing I want to do is scrape the results of programatically submitting a URI via http://validator.w3.org/ .
AWS
Thu 31st Mar '05, 4:49pm
Pick up nmake.exe, if you have VC6 installed you'll have it, and when you need to install any perl modules that don't come installed you can compile them with it. I was able to compile any perl modules that I needed just like you would on Linux.
I think all the modules on that list are installed by the activestate installer or after you install they have packages to install them.
filburt1
Thu 31st Mar '05, 6:30pm
Pick up nmake.exe, if you have VC6 installed you'll have it, and when you need to install any perl modules that don't come installed you can compile them with it. I was able to compile any perl modules that I needed just like you would on Linux.
I think all the modules on that list are installed by the activestate installer or after you install they have packages to install them.
I have Visual Studio.net 2003 (including C++ support if I want to install it). Would that work in place of nmake?
AWS
Fri 1st Apr '05, 1:49am
I'm not sure if it is included with .Net. I use vc6++ and only use .Net for C# and VB web apps. It was in prior versions for backwards compatibility to compile console programs.
You can find it by doing a search on Google.
filburt1
Fri 1st Apr '05, 2:15pm
I got a Hello World page through Apache/ActivePerl working. I did have to change the shebang to the path to PHP on my system instead of the common /usr/bin/perl.
However, I have no idea what to do to get the W3C validator working. All of the instructions, config files, etc. completely assume you're using Unix.
AWS
Fri 1st Apr '05, 3:21pm
Set the path to perl as !#perl in your scripts. ActiveState sets perl in your path so you don't need the full shebang.
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.