/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

  1. use ExtUtils::MakeMaker;
  2. use strict;
  3. require 5.008001;
  4. my $opt = {
  5. NAME => 'XML-FeedPP-Plugin-DumpJSON',
  6. VERSION_FROM => 'lib/XML/FeedPP/Plugin/DumpJSON.pm',
  7. PREREQ_PM => {
  8. 'Test::More' => '0',
  9. 'XML::TreePP' => '0.33',
  10. 'XML::FeedPP' => '0.33',
  11. # 'JSON' => '2.0',
  12. 'JSON::Syck' => '0',
  13. },
  14. };
  15. my $mm = $ExtUtils::MakeMaker::VERSION;
  16. $mm =~ s/[^\d\.]+//g;
  17. $opt->{LICENSE} = 'perl' if ( $mm >= 6.3001 );
  18. WriteMakefile( %$opt );