Added Pod::Inherit use to Makefile.PL at author-time, comments/suggestions as to...
[dbsrgits/DBIx-Class.git] / Makefile.PL
index 72c7fd3..b28f992 100644 (file)
@@ -42,6 +42,7 @@ requires 'SQL::Abstract::Limit'     => 0.13;
 requires 'Sub::Name'                => 0.04;
 
 recommends 'SQL::Translator'        => 0.09004;
+recommends 'Module::Install::Pod::Inherit' => '0.01';
 
 install_script (qw|
     script/dbicadmin
@@ -139,6 +140,10 @@ EOW
 
 auto_install();
 
+eval { use Module::Install::Pod::Inherit; };
+
+PodInherit() if(!$@ && $Module::Install::AUTHOR);
+
 WriteAll();
 
 # Re-write META.yml to _exclude_ all forced requires (we do not want to ship this)