From: Dave Rolsky Date: Thu, 26 Mar 2009 15:38:57 +0000 (-0500) Subject: Make trait name resolution a head2 X-Git-Tag: 0.72_01~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=835cdd772997740ba1db5eeeab155ade44c5cee6;p=gitmo%2FMoose.git Make trait name resolution a head2 --- diff --git a/lib/Moose.pm b/lib/Moose.pm index f94e4f3..97f582e 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -830,7 +830,7 @@ This is very similar to the attribute traits feature. When you do this, your class's C object will have the specified traits applied to it. See L for more details. -=head1 TRAIT NAME RESOLUTION +=head2 Trait Name Resolution By default, when given a trait name, Moose simply tries to load a class of the same name. If such a class does not exist, it then looks