Moxie
view release on metacpan or search on metacpan
lib/Moxie.pm view on Meta::CPAN
sub import_into ($class, $caller, $opts) {
# NOTE:
# create the meta-object, we start
# with this as a role, but it will
# get "cast" to a class if there
# is a need for it.
my $meta = MOP::Role->new( name => $caller );
# turn on strict/warnings
strict->import;
warnings->import;
# so we can have fun with attributes ...
warnings->unimport('reserved');
# turn on signatures and more
experimental->import($_) foreach qw[
signatures
postderef
( run in 0.804 second using v1.01-cache-2.11-cpan-299005ec8e3 )