Michael G Schwern wrote:
> That's a solution, not a problem.  Let me see if I understand the problem.  
> version.pm is a dual-life module as of 5.9?  And how should dual-lifed CPAN 
> modules deal with that?

version.pm is not a dual-life module.  The functionality provided by the CPAN
release is compatible to the core version object functionality in 5.9.x.  The XS
code in the CPAN release is a replica of the C code in util.c and universal.c in
bleadperl.  It isn't possible to do it otherwise, because UNIVERSAL::VERSION
must work without 'use version' being called.  The core *has* to support native
version objects without loading any module, hence there is nothing to install
from the CPAN release.

I just committed code like this:

     my $hash = $_[1];
+    if ( $] >= 5.009001 ) { # included in bleadperl
+       $hash->{'PM'} = {};
+       $hash->{'MAN3PODS'} = {};
+       return $hash;
+    }

which neuters the Makefile.PL for bleadperl only.  0.69_03 is winding its way
through CPAN mirrors as we speak...

John

Reply via email to