What Perl installation do you have on your Windows box? If you're using ActiveState, do the following to install a module:

  1. Open a DOS prompt.
  2. Change directories to the location where you installed Perl.
  3. Change into the bin subdirectory of your Perl installation.
  4. Type ppm at the prompt.

This runs the ppm.bat batch file and opens an interactive PPM session. (You can tell you're in a PPM session because the prompt is ppm>.) Type help to get a listing of commands. In the case of Net::Ping, type:

search Net-Ping

and press Enter. PPM will search ActiveState repositories for the module and return a numbered listing of its findings. For example:

ppm> search Net-Ping Searching in Active Repositories 1. Net-Ping-External [0.11] Cross-platform interface to ICMP "ping" +utilities ppm>

To install one of the listed modules, simply type the install command along with the name, or number, of the desired package, like so:

ppm> install 1 or ppm> install Net-Ping-External

PPM will fetch and install the module and write a series of messages to the screen. When it completes, it returns to the PPM prompt. Type q to quit the PPM session.

PPM will make your module-installing life much easier under Windows. :)

I hope this helps.

/Larry


In reply to Re^3: Array Problem by larryp
in thread Array Problem by wanderinweezard

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.