From: Dave Rolsky Date: Wed, 13 Apr 2011 19:09:54 +0000 (-0500) Subject: More style tweaks X-Git-Tag: v0.15~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7d51074a04f1ed362e74ff1cb5ac781a6db5df6d;p=gitmo%2FMooseX-StrictConstructor.git More style tweaks --- diff --git a/lib/MooseX/StrictConstructor/Trait/Class.pm b/lib/MooseX/StrictConstructor/Trait/Class.pm index f4c106a..c6865c6 100644 --- a/lib/MooseX/StrictConstructor/Trait/Class.pm +++ b/lib/MooseX/StrictConstructor/Trait/Class.pm @@ -37,7 +37,7 @@ after superclasses => sub { return unless @_; Moose::Util::MetaRole::apply_base_class_roles( - for => $self->name, + for => $self->name(), roles => ['MooseX::StrictConstructor::Role::Object'], ); };