Added CELL type attr; Removed PM_FILTER
[p5sagit/Excel-Template.git] / Makefile.PL
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.
4
5 use strict;
6
7 my $prereqs = {
8     'Spreadsheet::WriteExcel' => 0.42,
9     'Test::More'              => 0.01,
10     'XML::Parser'             => 0.01,
11     'IO::Scalar'              => 0.01,
12     'File::Basename'          => 0.01,
13 };
14
15 # The assumption is Perl 5.8.0 and greater doesn't need Unicode::String.
16
17 if ($] < 5.008)
18 {
19     eval { require Unicode::String; };
20     if ($@)
21     {
22         print "Note: If you want to work with Unicode, you will need to install";
23         print "the optional module Unicode::String and set USE_UNICODE to true.";
24     }
25 }
26
27 WriteMakefile(
28     NAME         => 'Excel::Template',
29     VERSION_FROM => 'lib/Excel/Template.pm', # finds $VERSION
30     AUTHOR       => 'Rob Kinyon (rob.kinyon@gmail.com)',
31     ABSTRACT     => 'Excel::Template',
32     PREREQ_PM    => $prereqs,
33 );