in reply to trouble in installing modules

If you are using the cygwin port of perl, the CPAN module should work as it does on unix (including compilation of C/C++ modules, if you've also installed the cygwin port of gcc):

> perl -MCPAN -e "install Module::Name"

or

> perl -MCPAN -e shell