Guides02 Feb 2008 02:56 pm
To use Perl’s CPAN on Windows with cygwin, you need to install some additional programs in cygwin. Run cygwin’s setup.exe (I like clicking the “View” button to change the listing to Full, so I get an alphabetical list of the packages).
Make sure that you install the following packages:
- perl (just in case you do not have it)
- gzip
- tar
- unzip
- make
- lynx
- wget
- ncftp
- gnupg
Open the Cygwin bash shell and enter:
perl -MCPAN -e shell
Accept the defaults, and you are good to go.
Once in the CPAN shell, you can install modules with commands like:
install Date::Parse

March 28th, 2008 at 1:06 pm
If you use perl 5.10, you don’t need anything except perl and make. For 5.8 add gunzip, tar and unzip.
Perl 5.8 includes Net::FTP that allows downloading anything from ftp mirror and 5.10 includes archive modules, so you can work without them.