Revision history for Perl extension Moose-Policy
+0.03
+ - changing it to use the Class::MOP::is_class_loaded
+ instead.
+
0.02 Sun. Nov. 5, 2006
- We removed UNIVERSAL::require in Moose recently, and
this module was breaking beacuse of that. It is now
use strict;
use warnings;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
use Moose ();
use Carp 'confess';
my $policy = shift || return;
- unless (Moose::_is_class_already_loaded($policy)) {
+ unless (Class::MOP::is_class_loaded($policy)) {
# otherwise require it ...
my $file = $policy . '.pm';
$file =~ s{::}{/}g;