author 'Ash Berlin <ash@cpan.org>';
-requires 'Class::C3';
+requires 'MRO::Compat';
requires 'Class::Inspector';
requires 'Carp';
requires 'Test::Exception';
use strict;
use warnings;
-use Class::C3;
+use MRO::Compat;
use Class::Inspector;
use Carp;
}
}
- # Yes, this is hack. But it *does* work. Please don't submit tickets about
- # it on the basis of the comments in Class::C3, the author was on #dbix-class
- # while I was implementing this.
-
- eval "package $target; import Class::C3;" unless exists $Class::C3::MRO{$target};
+ mro::set_mro($target, 'c3');
}
=head1 AUTHOR