I guess the first thing to do is to determine if the script you're trying to use is meant to be a command line script, a GUI script (unlikely in this case), or a CGI script. If it's a command-line script, open a DOS console window and run it from the command line. If it's dumping a bunch of HTML, it may be a CGI script, in which case you'll need to let a webserver run it. For that, you'll need... a webserver (such as Apache), or you'll need to put it online with an ISP that allows you to install CGI scripts to run on its webserver.

Regarding modules, if you're using ActiveState's Perl, you probably also have the PPM utility, which can be used to install modules on your local system. For installing on your ISP's system, you'll need to know what OS you're using, and will need to use the makefile that comes with the module's distribution from CPAN. There are also Tutorials here at the Monastery for how to install modules. Read them, they're very helpful.

And as for which modules to use, I think you'll find that WWW::Mechanize is very helpful.


Dave


In reply to Re: Begginer: Need help on implementing web Perl code on Windows by davido
in thread Begginer: Need help on implementing web Perl code on Windows by Deib

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.