If you're using ActivePerl (available from
www.activestate.com for free) you can use the 'ppm' command to install perl modules. This is usually quite a bit less painful than using CPAN.pm because you don't need a working make utility (or a compiler for some modules with XS). Some modules are not available through ppm or are outdated, but the vast majority are well maintained and working. ppm will also do the work of searching and downloading the modules you want, similar to CPAN.pm.
You can invoke ppm with:
"C:\Program Files\xampp\perl\bin\ppm.bat"
Once you get to the ppm> prompt, you can enter 'help' for online help.
Some common ppm commands are:
search Module::Name (Find a module)
install Module::Name (Install a module)
uninstall Module::Name (Uninstall a module)
You can also avoid the ppm shell by entering commands after the ppm argument, such as:
"C:\Program Files\xampp\perl\bin\ppm.bat" install Module::Name
As suggested in a previous post, adding the Perl bin directory to your PATH environment variable will also make the process of invoking ppm significantly less annoying as well.
Good Luck,
m.att
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.