package Mu::Role; use strictures 2; use Import::Into; use Moo::Role (); use MooX::ShortHas (); our $VERSION = '1.191300'; # VERSION # ABSTRACT: Moo::Role but with less typing # # This file is part of Mu # # # Christian Walde has dedicated the work to the Commons by waiving all of his # or her rights to the work worldwide under copyright law and all related or # neighboring legal rights he or she had in the work, to the extent allowable by # law. # # Works under CC0 do not require attribution. When citing the work, you should # not imply endorsement by the author. # sub import { my $caller = caller; $_->import::into( $caller ) for qw( Moo::Role MooX::ShortHas ); } 1; __END__ =pod =head1 NAME Mu::Role - Moo::Role but with less typing =head1 VERSION version 1.191300 =head1 SYNOPSIS use Mu::Role; ro "hro"; lazy hlazy => sub { 2 }; rwp "hrwp"; rw "hrw"; =head1 DESCRIPTION Mu imports both L and L, making it even less work in typing and reading to set up a role. =head1 AUTHOR Christian Walde =head1 COPYRIGHT AND LICENSE Christian Walde has dedicated the work to the Commons by waiving all of his or her rights to the work worldwide under copyright law and all related or neighboring legal rights he or she had in the work, to the extent allowable by law. Works under CC0 do not require attribution. When citing the work, you should not imply endorsement by the author. =cut