elbee has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I have only used Perl on a Unix platform. I am trying to do something right now that would require me to use Perl on a Windows platform. I have downloaded Perl onto my machine and I am ready to go, but I very lost. I am trying to write a script that allows the user to enter a url. Once I have the url I need to use the text of the web page for various things. If I was doing this in a Unix environment I would use CGI and HTML::Template to get the text. How would I do this in a Windows environment? Many thanks!!

Retitled by davido.

Replies are listed 'Best First'.
Re: Using Perl on Windows
by punkish (Priest) on Jan 07, 2005 at 04:36 UTC
    i all, I have only used Perl on a Unix platform. I am trying to do something right now that would require me to use Perl on a Windows platform. I have downloaded Perl onto my machine and I am ready to go, but I very lost.
    strange. Usually it is the other way around.

    In any case, most all popular modules are available on Win32 platform. Go to ppm.activestate.com to see the complete list.

    Although, the problem you are setting out to solve above is likely gonna be solved with LWP and not with CGI and H::T.

      You guys are awesome!! LWP is definitely the way to go. That shows you how lost I was!! Many thanks!!
        LWP is way cool. After you master it, take a look at WWW::Mechanize (aka mech) which extends LWP and is very popular. I also found the book Spidering Hacks to be an interesting read and not expensive.
Re: Using Perl on Windows
by jZed (Prior) on Jan 07, 2005 at 03:07 UTC
    CGI and HTML::Template are both available in windows. Do you have a running webserver? If not, apache works in windows too. To download modules, you can use CPAN.pm or ActiveState's ppm package manager. Go to Start Menu - Programs - ActiveState - Documentation for details.
Re: Using Perl on Windows
by BUU (Prior) on Jan 07, 2005 at 03:06 UTC
    I seriously doubt you would use CGI and HTML::Template to do anything related to this, but regardless, you can use the *Exact* same modules on win32 as on linux. (With a few minor exceptions). So go forth and code!