in reply to OT(?): cpan and iptables

Opening port 21 for outgoing ftp in passive mode should do. If you have a proxy such as squid installed somewhere, you could use that setting the environment variable ftp_proxy. My mini-CPAN has 658 MB occupied.

But DROP all for localhost? Don't do that. Specially, don't use it on lo, or your loopback isn't. This might be the source of your problem.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}