X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FPackage%2FVariant.pm;h=94553018c4ffc048c6c6b4615166d0ea2901abae;hb=4870db30cb3921e5905edb3d65bc9e22df00929a;hp=44073978d46e240baf347e7696ec0781c10711ae;hpb=067e51adaaf12b0b8c61096e5e6c65593062eb6e;p=p5sagit%2FPackage-Variant.git diff --git a/lib/Package/Variant.pm b/lib/Package/Variant.pm index 4407397..9455301 100644 --- a/lib/Package/Variant.pm +++ b/lib/Package/Variant.pm @@ -103,7 +103,7 @@ Package::Variant - Parameterizable packages use strictures 1; use Package::Variant # what modules to 'use' - importing => { 'Moo::Role' => [] }, + importing => { 'Moo::Role' => undef }, # proxied subroutines subs => [qw( has around before after extends )], @@ -161,7 +161,7 @@ to be Cd as keys, and array references containing the import arguments as values. These packages will be imported into every new variant, and need to set up every declarative subroutine you require to build your variable package. The next option will allow you to use these -functions. +functions. See L for more options. The L option is an array reference of subroutine names that are exported by the packages specified with L. These subroutines @@ -239,8 +239,8 @@ arguments as a flag array reference: use Package::Variant importing => [ PackageA => [], PackageB => [] ]; -If you want to import whatever the package exports by default, you have to -pass C instead of an empty array reference. +If you want to import whatever the package exports by default, you can +also pass C instead of an empty array reference. =head2 subs