/XML-FeedPP-Plugin-DumpJSON/Makefile.PL
http://xml-treepp.googlecode.com/ · Perl · 21 lines · 17 code · 3 blank · 1 comment · 1 complexity · 20c30aa57ac11ed115050e6f7e354eef MD5 · raw file
- use ExtUtils::MakeMaker;
- use strict;
- require 5.008001;
- my $opt = {
- NAME => 'XML-FeedPP-Plugin-DumpJSON',
- VERSION_FROM => 'lib/XML/FeedPP/Plugin/DumpJSON.pm',
- PREREQ_PM => {
- 'Test::More' => '0',
- 'XML::TreePP' => '0.33',
- 'XML::FeedPP' => '0.33',
- # 'JSON' => '2.0',
- 'JSON::Syck' => '0',
- },
- };
- my $mm = $ExtUtils::MakeMaker::VERSION;
- $mm =~ s/[^\d\.]+//g;
- $opt->{LICENSE} = 'perl' if ( $mm >= 6.3001 );
- WriteMakefile( %$opt );