NAME
MooX - Using Moo and MooX:: packages the most lazy way
VERSION
version 0.101
SYNOPSIS
package
MyClass;
Options
)
;
# use Moo;
# use MooX::Options;
package
MyClassComplex;
use
MooX
SomeThing
=> [
qw( import params )
],
'OtherThing'
,
MoreThing
=> {
key
=>
'value'
},
'+NonMooXStuff'
;
# use Moo;
# use MooX::SomeThing qw( import params );
# use MooX::OtherThing;
# use MooX::MoreThing key => 'value';
# use NonMooXStuff;
package
MyMoo;
use
MooX ();
sub
import
{ MooX->
import
::into(
scalar
caller
,
qw( A B +Carp )
) }
# then you can do: use MyMoo; which does the same as:
# use Moo;
# use MooX::A;
# use MooX::B;
# use Carp;
DESCRIPTION
Using Moo and MooX:: packages the most lazy way
SEE ALSO
Import::Into
SUPPORT
Repository
Pull request and additional contributors are welcome
Issue Tracker
AUTHOR
Torsten Raudssus <torsten@raudss.us>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.