What Perl installation do you have on your Windows box? If you're using ActiveState, do the following to install a module:
- Open a DOS prompt.
- Change directories to the location where you installed Perl.
- Change into the bin subdirectory of your Perl installation.
- 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
|