1 package Class::MOP::Mixin;
7 $VERSION = eval $VERSION;
8 our $AUTHORITY = 'cpan:STEVAN';
10 use Scalar::Util 'blessed';
13 require Class::MOP::Class;
14 Class::MOP::Class->initialize( blessed( $_[0] ) || $_[0] );
25 Class::MOP::Mixin - Base class for mixin classes
29 This class provides a single method shared by all mixins
33 This class provides a few methods which are useful in all metaclasses.
37 =item B<< Class::MOP::Mixin->meta >>
39 This returns a L<Class::MOP::Class> object for the mixin class.
45 Dave Rolsky E<lt>autarch@urth.orgE<gt>
47 =head1 COPYRIGHT AND LICENSE
49 Copyright 2006-2010 by Infinity Interactive, Inc.
51 L<http://www.iinteractive.com>
53 This library is free software; you can redistribute it and/or modify
54 it under the same terms as Perl itself.