I get the same error:
Use of inherited AUTOLOAD for non-method main::version::(""() is depre
+cated at /usr/local/share/perl/5.8.8/CPAN.pm line 10254.
Catching error: 'Can\'t locate auto/main/version/("".al in @INC (@INC
+contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5
+.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/per
+l/5.8 /usr/local/lib/site_perl /disk2/apache-2.0.59/conf) at /usr/loc
+al/share/perl/5.8.8/CPAN.pm line 10254
' at /usr/local/share/perl/5.8.8/CPAN.pm line 281
CPAN::shell() called at -e line 1
I just upgraded a bunch of modules on a box being prepared for production use. CPAN.pm is now 1.9205, and ExtUtils::MakeMaker is now 6.42 (both were upgraded, and one or both is contributing to the problem).
Using the CPAN shell, I can list the modules needing upgrading, and then upgrade one module. Any subsequent upgrades or lists of upgrades fail with the above error. If I exit the shell and restart it, I can perform the next upgrade. Installation of modules seems to be okay, until an upgrade takes place, and then installation fails too.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.