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 ..
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.