Here's what I do generally:
1. Go to whichever module you need for windows from web.
2. Download the tar.gz file
3. Extract with WinRAR
4. Run perl makefile.pl
5. Run Nmake ( Download here) or Go here and download
6. Nmake test
7. Nmake install
Update:
As CountZero said
Instead of Step 1, You can type "cpan" on the commandline and use options:
get
make
test
install
clean
look
readme
or simply type "help" for the modules
But, it might not work if you are using VPN or proxy (atleast in my case).
| [reply] [Watch: Dir/Any] |
Just wondering, why don't you just use 'cpan' on the command line?
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
| [reply] [Watch: Dir/Any] [d/l] |
In case you are running activestate perl, chances are the module you need comes pre-compiled from Activestate. These modules can be installed using "ppm" from the command-line (dos-prompt) or from the start menu that the installation creates. I really think this is the easiest way.
If the module you need contains any source code in c (or other languages) and if you do not have a compiler, using ppm is the only way. | [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] [d/l] [select] |
| [reply] [Watch: Dir/Any] |
Hi,
You need to go to the author's page where all the modules will be listed and then select the module which you would like to use and then check the version. Accordingly, you can download it and then install the same. for example the case of the List::MoreUtil module http://search.cpan.org/~vparseval/List-MoreUtils-0.25_02/
| [reply] [Watch: Dir/Any] |
ActiveState Perl has shipped with a cpan client for some time now, this will also install a C compiler and build tools should you need them (note the module you used as an example contains xs code). It's often easier/quicker to use cpan or PPM to install modules than it is do it by hand. See also Installing Modules from the tutorials section of the site.
| [reply] [Watch: Dir/Any] |