1 use ExtUtils::MakeMaker;
2 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
3 # the contents of the Makefile that is written.
8 'Test::Simple' => 0.44,
9 'Spreadsheet::WriteExcel' => 0.42,
10 'XML::Parser' => 0.01,
12 'File::Basename' => 0.01,
15 # The assumption is Perl 5.8.0 and greater doesn't need Unicode::String.
20 print "Do you want Unicode support? ";
22 my $need_unicode = $answer =~ /^[Yy]/;
26 $prereqs->{'Unicode::String'} = '0.01';
31 my $pm_filter = $use_unicode
32 ? 'perl -p -e "s!UNI_YES ! !g;s!UNI_NO !\\#!g"'
33 : 'perl -p -e "s!UNI_NO ! !g;s!UNI_YES !\\#!g"';
36 NAME => 'Excel::Template',
37 VERSION_FROM => 'lib/Excel/Template.pm', # finds $VERSION
38 AUTHOR => 'Rob Kinyon (rob.kinyon@gmail.com)',
39 ABSTRACT => 'Excel::Template',
40 PREREQ_PM => $prereqs,
41 PM_FILTER => $pm_filter,