De-bareword author_* in Makefile.PL.
Dan Brook [Mon, 3 May 2010 20:39:04 +0000 (21:39 +0100)]
With a totally bare perl install this Makefile.PL won't even run. FTFY.

Changes
Makefile.PL

diff --git a/Changes b/Changes
index 0087068..82ea77c 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 This file documents the revision history for Perl extension Gitalist.
 
+    - Fixed author_* barewords in Makefile.PL.
+
 0.001003 2010-04-21
     - Added folder / file icons in tree view (Foxtons)
     - Added favicon
index dea8818..d73b0aa 100644 (file)
@@ -111,13 +111,13 @@ if ($Module::Install::AUTHOR) {
 }
 
 if ($ENV{GITALIST_RELEASE_TESTING}) {
-    author_tests 't/author';
-    author_requires 'Test::NoTabs';
-    author_requires 'Test::Pod' => '1.14';
-    author_requires 'Test::Pod::Coverage' => '1.04';
-    author_requires 'Test::WWW::Mechanize::Catalyst' => '0.51';
-    author_requires 'HTML::TreeBuilder::XPath';
-    author_requires 'WWW::Mechanize::TreeBuilder';
+    author_tests('t/author');
+    author_requires('Test::NoTabs');
+    author_requires('Test::Pod' => '1.14');
+    author_requires('Test::Pod::Coverage' => '1.04');
+    author_requires('Test::WWW::Mechanize::Catalyst' => '0.51');
+    author_requires('HTML::TreeBuilder::XPath');
+    author_requires('WWW::Mechanize::TreeBuilder');
 }
 
 install_script glob('script/*.pl');