[SCM] libpackage-variant-perl Debian packaging branch, master, updated. debian/1.001003-1-16-g363631d

Robert Sedlacek rs at 474.at
Thu May 9 17:13:57 UTC 2013


The following commit has been merged in the master branch:
commit bdc3f3ad35c1cb682cd6fa01f25eb09b6fd8c159
Author: Robert Sedlacek <rs at 474.at>
Date:   Wed Dec 21 00:04:53 2011 +0100

    documented single import package use

diff --git a/lib/Package/Variant.pm b/lib/Package/Variant.pm
index 977f76c..8b9a224 100644
--- a/lib/Package/Variant.pm
+++ b/lib/Package/Variant.pm
@@ -275,6 +275,11 @@ arguments as a flat array reference:
 The import method will be called even if the list of import arguments is
 empty or not specified,
 
+If you just want to import a single package's default exports, you can
+also pass a string instead:
+
+  use PAckage::Variant importing => 'Package';
+
 =head2 subs
 
 An array reference of strings listing the names of subroutines that should

-- 
libpackage-variant-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list