THRIFT-4416: fixed up CPAN module creation and automated all steps except for upload to CPAN
Client: perl

This closes #1441
diff --git a/lib/perl/Makefile.PL b/lib/perl/Makefile.PL
index ee7a436..bdeaad2 100644
--- a/lib/perl/Makefile.PL
+++ b/lib/perl/Makefile.PL
@@ -17,7 +17,12 @@
 # under the License.
 #
 
+use 5.10.0;
+use strict;
+use warnings;
+
 use ExtUtils::MakeMaker;
+
 WriteMakefile( ABSTRACT => 'Apache Thrift is a software framework for scalable cross-language services development.',
                AUTHOR => 'Apache Thrift <dev@thrift.apache.org>',
                LICENSE => 'apache_2_0',