From: Sven Dowideit <svendowid...@fosiki.com> --- AnyData.pm | 3 ++- Makefile.PL | 40 ++++++++++++++++++++++++---------------- 2 files changed, 26 insertions(+), 17 deletions(-)
diff --git a/AnyData.pm b/AnyData.pm index c6ffcf8..df9aabb 100644 --- a/AnyData.pm +++ b/AnyData.pm @@ -14,7 +14,7 @@ use vars qw( @ISA @EXPORT $VERSION ); @EXPORT = qw( adConvert adTie adRows adColumn adExport adDump adNames adFormats); #@EXPORT = qw( ad_fields adTable adErr adArray); -$VERSION = '0.10'; +$VERSION = '0.11'; sub new { my $class = shift; @@ -1436,6 +1436,7 @@ Special thanks to Andy Duncan, Tom Lowery, Randal Schwartz, Michel Rodriguez, Jo Jeff Zucker <j...@vpservices.com> This module is copyright (c), 2000 by Jeff Zucker. + Some changes (c) 2012 Sven Dowideit L<mailto:svendowid...@fosiki.com> It may be freely distributed under the same terms as Perl itself. =cut diff --git a/Makefile.PL b/Makefile.PL index 7ebef28..e08638d 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,20 +3,28 @@ require 5.004; use strict; require ExtUtils::MakeMaker; -my %opts = - ('NAME' => 'AnyData', - 'VERSION_FROM' => 'AnyData.pm', - 'dist' => { 'SUFFIX' => ".gz", - 'DIST_DEFAULT' => 'all tardist', - 'COMPRESS' => "gzip -9vf" }, - 'PREREQ_PM' => { - 'Test::More' => '0.9' - }, - ); -if ($ExtUtils::MakeMaker::VERSION >= 5.43) { - $opts{'AUTHOR'} = 'Jeff Zucker (j...@vpservices.com)'; -} -ExtUtils::MakeMaker::WriteMakefile(%opts); - - +ExtUtils::MakeMaker::WriteMakefile( + ( + 'NAME' => 'AnyData', + 'VERSION_FROM' => 'AnyData.pm', + 'ABSTRACT_FROM' => 'AnyData.pm', + 'dist' => { + 'SUFFIX' => ".gz", + 'DIST_DEFAULT' => 'all tardist', + 'COMPRESS' => "gzip -9vf" + }, + 'PREREQ_PM' => { 'Test::More' => '0.9' }, + ( $ExtUtils::MakeMaker::VERSION >= 6.3002 ? + ( 'LICENSE' => 'perl', ) + : () ), + ( + $ExtUtils::MakeMaker::VERSION >= 5.43 + ? ( + 'AUTHOR' => 'Jeff Zucker (j...@vpservices.com)', + 'AUTHOR' => 'Sven Dowideit (svendowid...@fosiki.com)', + ) + : () + ), + ) +); -- 1.7.10.4