fixing the depndency stuff
Stevan Little [Thu, 23 Feb 2006 20:49:38 +0000 (20:49 +0000)]
Build.PL
Changes
t/107_C3MethodDispatchOrder_test.t

index 9371a48..77fb9e4 100644 (file)
--- a/Build.PL
+++ b/Build.PL
@@ -6,11 +6,10 @@ my $build = Module::Build->new(
     module_name => 'Class::MOP',
     license => 'perl',
     requires => {
-        'Algorithm::C3' => '0.01',
         'Scalar::Util' => '1.18',
         'Sub::Name'    => '0.02',
         'Carp'         => '0.01',
-        'B'            => '1.09',
+        'B'            => '0',
         'Clone'        => '0.18',
     },
     optional => {
diff --git a/Changes b/Changes
index 1228b1f..6c8cb0e 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for Perl extension Class-MOP.
 
+0.12
+    - reduced the dependency on B, no need to always 
+      have the latest
+
 0.11 Mon Feb. 20, 2006
     * examples/
       - added example of changing method dispatch order to C3
index d20f306..2911e18 100644 (file)
@@ -3,10 +3,14 @@
 use strict;
 use warnings;
 
-use Test::More tests => 5;
+use Test::More;
 use File::Spec;
 
-BEGIN { 
+BEGIN {
+    eval "use Algorithm::C3";
+    plan skip_all => "Algorithm::C3 required for this test" if $@;
+    plan tests => 5;    
+
     use_ok('Class::MOP');    
     require_ok(File::Spec->catdir('examples', 'C3MethodDispatchOrder.pod'));
 }