Subject: | Module::Install::Share missing 'module' switch documentation |
The pod of M::I::Share is missing the 3 parameter usage of install_share,
in order to use File::ShareDir::module_dir
patch attached
cheers
Subject: | MISpod.patch |
diff -ru Module-Install-1.06-WfVOrH/lib/Module/Install/Share.pm Module-Install-1.06-rjVU5e/lib/Module/Install/Share.pm
--- Module-Install-1.06-WfVOrH/lib/Module/Install/Share.pm 2012-03-01 14:00:48.000000000 +0100
+++ Module-Install-1.06-rjVU5e/lib/Module/Install/Share.pm 2012-05-22 11:24:27.000000000 +0200
@@ -106,6 +106,9 @@
# Same thing as above using the default directory name
install_share;
+ # Put everything inside ./share/module into My::Module's module_dir
+ install_share 'module', 'My::Module', 'share/module';
+
=head1 DESCRIPTION
As well as Perl modules and Perl binary applications, some distributions