X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FTypeConstraint.pm;h=b6213754188a0d8c5a25fc3def0439c4f7febd26;hb=143cc5abff663b1295f43a7fa9a30b2b1a721f29;hp=2b56617fd7752284b6ccee7662685f9a2ae02288;hpb=db730b319a4c487382b61d62e5fb0915a82a1bcd;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/TypeConstraint.pm b/lib/Moose/Meta/TypeConstraint.pm index 2b56617..b621375 100644 --- a/lib/Moose/Meta/TypeConstraint.pm +++ b/lib/Moose/Meta/TypeConstraint.pm @@ -97,7 +97,7 @@ __PACKAGE__->meta->add_attribute('inline_environment' => ( )); sub parents { - my $self; + my $self = shift; $self->parent; }