Declares an attribute for the class.
+ package Bar;
+ extends 'Foo'; # Foo has an 'attr' attribute
+
+ has '+attr' => (
+ default => sub { "blah" },
+ );
+
+Using the C<+> notation, it's possible to override an attribute.
+
The options for C<has> are as follows:
=over 2
=head1 SUPPORT
-Users' IRC: #moose on irc.perl.org L<Click here for instant chatroom via mibbit|http://chat.mibbit.com/#moose@irc.perl.org>
+Users' IRC: #moose on irc.perl.org
+
+=for html <a href="http://chat.mibbit.com/#moose@irc.perl.org">(click for instant chatroom login)</a>
+
+Development and contribution IRC: #web-simple on irc.perl.org
-Development and contribution IRC: #web-simple on irc.perl.org L<Click here for instant chatroom via mibbit|http://chat.mibbit.com/#web-simple@irc.perl.org>
+=for html <a href="http://chat.mibbit.com/#web-simple@irc.perl.org">(click for instant chatroom login)</a>
Bugtracker: L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Moo>