Install perl module through source package on cygwin by using cpanm
I failed to install package "Template" by running `cpanm Template'.
It's because the binary package requires gcc4 while on my cygwin only gcc3 available.
So I install it from source package (with some hack, of course),
cpanm --look Template # Download and unpack the distribution and then open the directory with your shellI
cpanm . #install from local directory
Updated: The simpler solution is to install gcc4 at cygwin.