[SCM] libpackage-variant-perl Debian packaging branch, master, updated. debian/1.001003-1-16-g363631d
Karen Etheridge
ether at cpan.org
Thu May 9 17:14:04 UTC 2013
The following commit has been merged in the master branch:
commit cfcf68cbe12903dfea4c6c3d1941505094494329
Author: Karen Etheridge <ether at cpan.org>
Date: Sat May 4 09:39:24 2013 -0700
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<as> argument.
For regular uses, the L<normal import|/Using variable packages> provides
more than enough flexibility. However, if you want to create variations of
-dynamically determined packages, you can use the L</build_variation_of>
+dynamically determined packages, you can use the L</build_variant_of>
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<Package::Variant> 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
--
libpackage-variant-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list