5 Moose::Cookbook::Snack::Keywords - Restricted keywords in Moose
11 There are several keywords exported in L<Moose> that cause clashes against
12 any barewords such as attribute names, sub names, and globs.
15 =head2 The 'meta' keyword
17 While most of the reserved keywords collisions can be avoided, however
18 I<meta> is the only one you B<cant> override. Do not attempt to override
23 If you are using Moose its best to avoid these keywords
55 =head2 Moose::Util::TypeConstraints Keywords
57 If you are using Moose::Util::TypeConstraints its best to avoid
86 =item find_type_constraint
88 =item register_type_constraint
92 =head2 Avoiding collisions
94 =head3 Turning off Moose
96 To remove the keywords Moose exports using no Moose at the bottom of your code
107 The L<Sub::Exporter> module can rename keywords
110 use Moose 'has' => { -as => 'i_can_haz' };
112 i_can_haz 'cheeseburger' => (
114 trigger => sub { print "NOM NOM" }
117 LOL::Cat->new->cheeseburger('KTHNXBYE');;
119 =head3 namespace::clean
121 You can use L<namespace::clean> to clean up the namespace
123 =head1 AUTHOR AND COPYRIGHT
125 John Goulah C<E<lt>jgoulah@cpan.org<gt>>
129 This program is free software; you can redistribute it and/or modify
130 it under the same terms as perl itself.