in reply to
Re^2: Help with CPAN module
in thread Help with CPAN module
there has been some issues after a recent security update in Leopard, please refer to:
http://www.google.com/search?client=safari&rls=en-us&q=security+update+leopard+perl&ie=UTF-8&oe=UTF-8
maybe this mentioned thread will help you further:
http://discussions.apple.com/message.jspa?messageID=8992556
Gert
UPDATE
What I did to get CPAN working again was the following and I didn't have any problems afterwards although not every module can be installed via CPAN and the README often gives the alternative that'll work if required modules are installed. (I'm not an expert on this and unfortunately lost the source of why I took this action and have no idea whether it could do any harm to your system, again, for me it was fine)
mkdir -p /fixforperl
cd !$
curl -O http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/IO-1.2301.ta
+r.gz
curl -O http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/DB_File-1.819
+.tar.gz
curl -O http://search.cpan.org/CPAN/authors/id/A/AM/AMS/Storable-2.18.
+tar.gz
tar xzf IO-1.2301.tar.gz
tar xzf DB_File-1.819.tar.gz
tar xzf Storable-2.18.tar.gz
cd IO-1.2301 && perl Makefile.PL && make && sudo make install && cd ..
cd DB_File-1.819 && perl Makefile.PL && make && sudo make install && c
+d ..
cd Storable-2.18 && perl Makefile.PL && make && sudo make install && c
+d ..