From: Karen Etheridge Date: Sat, 4 May 2013 16:39:24 +0000 (-0700) Subject: s/build_variation_of/build_variant_of/g (RT#84554) X-Git-Tag: v1.001004~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cfcf68cbe12903dfea4c6c3d1941505094494329;p=p5sagit%2FPackage-Variant.git s/build_variation_of/build_variant_of/g (RT#84554) --- diff --git a/Changes b/Changes index b87d703..aca59bd 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,7 @@ + + - fix documentation of "build_variant_of" method (RT#84554 -- thanks, + Scott Miller!) + 1.001003 - 2013-03-25 - fix NAME in Makefile.PL (RT#84209) diff --git a/lib/Package/Variant.pm b/lib/Package/Variant.pm index bc76781..df28466 100644 --- a/lib/Package/Variant.pm +++ b/lib/Package/Variant.pm @@ -235,7 +235,7 @@ subroutine under a different name by specifying an C argument. For regular uses, the L provides more than enough flexibility. However, if you want to create variations of -dynamically determined packages, you can use the L +dynamically determined packages, you can use the L method. You can use this to create variations of other packages and pass arguments @@ -331,10 +331,10 @@ Exports the generator subroutine under a different name than the default. These methods are available on C itself. -=head2 build_variation_of +=head2 build_variant_of my $variant_package = Package::Variant - ->build_variation_of($variable_package, @arguments); + ->build_variant_of($variable_package, @arguments); This is the dynamic method of creating new variants. It takes the C<$variable_package>, which is a pre-declared variable package, and a set