Andreas J. Koenig wrote:
  CPAN-Reporter-0.20% ./Build prereq_report
  Use of uninitialized value in concatenation (.) or string at 
/home/src/perl/repoperls/installed-perls/perl/p0zpP0q/[EMAIL 
PROTECTED]/lib/5.9.4/Module/Build/ModuleInfo.pm line 223, <GEN16> line 5.
  Package 'CPAN' already declared with version '1.8801'
  ignoring new version ''.

That smells like a problem with the regex matching $VERSION assignments, i.e. something in CPAN /looks like/ an assignment to $VERSION, but isn't.

Ahhh, it is this code from CPAN.pm (being these are lines 4 and 5):

        $CPAN::VERSION = '1.8801';
        $CPAN::VERSION = eval $CPAN::VERSION;

and, indeed, the warnings go away if I edit those lines as so:

        $CPAN::VERSION = 1.8801;
        #$CPAN::VERSION = eval $CPAN::VERSION;

My perl is bleadperl with version.pm from there.

I can replicate this with Perl 5.8.7, version-0.6701, and CPAN 1.8801 (latest official release), so that datapoint isn't helpful.

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748

Reply via email to