I think I will live with cygwin
After this perl -MCPAN -e shell
and letting it autoconfigure
I tried
cpan> install Encode
Here is an sample of the messages I got
gzip: /c/CPAN/sources/authors/01mailrc.txt: invalid compressed data--
format violated
Going to read /c/CPAN/sources/authors/01mailrc.txt.gz
Trying with "/c/mozilla-build/wget/wget -O -" to get
http://cpan.mirror.facebook.com/modules/02packages.details.txt.gz
--19:09:00-- http://cpan.mirror.facebook.com/modules/02packages.details.txt.gz
=> `-'
Resolving cpan.mirror.facebook.com... 69.63.177.230
Connecting to cpan.mirror.facebook.com|69.63.177.230|:80... connected.
19:09:04 (158.63 KB/s) - `-' saved [583327/583327]
0 [main] gzip 3656 open_stackdumpfile: Dumping stack trace to
gzip.exe.stackdump
Going to read /c/CPAN/sources/modules/02packages.details.txt.gz
Warning: Your /c/CPAN/sources/modules/02packages.details.txt.gz does
not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /c/CPAN/sources/modules/02packages.details.txt.gz does
not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Use of uninitialized value in string ne at /usr/lib/perl5/5.6.1/
CPAN.pm line 3202, <GEN5> line 2398.
Use of uninitialized value in pattern match (m//) at /usr/lib/
perl5/5.6.1/CPAN.pm line 3068, <GEN5> line 2398.
Use of uninitialized value in string ne at /usr/lib/perl5/5.6.1/
CPAN.pm line 3202, <GEN5> line 2398.
.....
gzip: /c/CPAN/sources/modules/03modlist.data: invalid compressed data--
format violated
Going to read /c/CPAN/sources/modules/03modlist.data.gz
Unrecognized character \xCC at (eval 14) line 1.
CPAN::Index::rd_modlist('CPAN::Index', '/c/CPAN/sources/
modules/03modlist.data.gz') called at /usr/lib/perl5/5.6.1/CPAN.pm
line 3002
CPAN::Index::reload('CPAN::Index') called at /usr/lib/
perl5/5.6.1/CPAN.pm line 620
CPAN::exists('CPAN=HASH(0xa35e25c)', 'CPAN::Module', 'Encode')
called at /usr/lib/perl5/5.6.1/CPAN.pm line 1735
CPAN::Shell::expandany('CPAN::Shell', 'Encode') called at /usr/
lib/perl5/5.6.1/CPAN.pm line 1969
CPAN::Shell::rematein('CPAN::Shell', 'install', 'Encode')
called at /usr/lib/perl5/5.6.1/CPAN.pm line 2056
CPAN::Shell::install('CPAN::Shell', 'Encode') called at /usr/
lib/perl5/5.6.1/CPAN.pm line 183
eval {...} called at /usr/lib/perl5/5.6.1/CPAN.pm line 183
CPAN::shell() called at -e line 1
19:08:59 (143.64 KB/s) - `-' saved [136109/136109]