Revision history for Perl extension Moose
+0.15
+ * Moose::Meta::Class
+ - fixed minor issue which occasionally
+ comes up during global destruction
+ (thanks omega)
+
0.14 Mon. Oct. 9, 2006
* Moose::Meta::Attribute
use Carp 'confess';
use Scalar::Util 'weaken', 'blessed', 'reftype';
-our $VERSION = '0.07';
+our $VERSION = '0.08';
use base 'Class::MOP::Class';
my $gv = B::svref_2object($code)->GV;
my $pkg = $gv->STASH->NAME;
- if ($pkg->can('meta') && $pkg->meta->isa('Moose::Meta::Role')) {
+ if ($pkg->can('meta') && $pkg->meta && $pkg->meta->isa('Moose::Meta::Role')) {
#my $role = $pkg->meta->name;
#next unless $self->does_role($role);
}