The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use ExtUtils::MakeMaker;
use File::Copy;

#if ($^V lt v5.10) {
#   die("Algorithm::DecisionTree has been tested on Perl 5.10.1.\n" .
#   "Your perl version is $].\n");
#}

copy("perl/MANIFEST.perl","MANIFEST");

WriteMakefile(
    NAME         => 'Algorithm::DecisionTree',
    VERSION_FROM => 'lib/Algorithm/DecisionTree.pm',
    PREREQ_PM    => { Math::Random => '0.71' },
    AUTHOR       => 'Avinash Kak (kak@purdue.edu)',
    ABSTRACT     => 'A Perl module for decision-tree based classification of multidimensional data',
    clean        => {FILES => join(" ",
                                   map { "$_ */$_ */*/$_" }
                                   qw( *% *.html *.b[ac]k *.old *.orig ) )
                    },
);