1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/perl
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'Template::Plugin::JSON::Escape',
'VERSION_FROM' => 'lib/Template/Plugin/JSON/Escape.pm',
'PREREQ_PM' => {
'Template' => '2.20',
'Test::More' => '0',
'JSON' => '2.12',
},
'INSTALLDIRS' => 'site',
'EXE_FILES' => [],
'PL_FILES' => {}
);
unless ( eval { require JSON::XS } ) {
warn <<WARN
JSON::XS is reccomended, you should probably install it for better performance.
WARN
}
|