/usr/local/CPAN/JE/Makefile.PL


BEGIN {
	require 5.008003; # substr + UTF8
	$] == 5.009005 and require 5.01;
	# I’m getting tired of failure reports that are due to the buggi-
	# ness of 5.9.5.
}

use ExtUtils::MakeMaker;

my %prq = (
         Carp                        => 1.01, # @CARP_NOT
         constant::lexical => 0,
        'Date::Parse' => 0,
         Encode     => 2.08, # ‘decode_utf8 "\xef\xbb", FB_CROAK’
         Exporter   => 5.57,
        'List::Util' => 0,
#         Memoize      => 0,
         re           => 0, # version???
         POSIX => 0,
#        'Scalar::Util' => 1.1, # looks_like_number
         strict => 0,
        'Time::Local' => 0,
        'Time::Zone' => 0,
         warnings => 0,
 # for tests only:
        'Scalar::Util' => 1.14, # refaddr and ties
        'Test::More'   => 0,
         utf8   => 0,
    );

eval { require Hash::Util::FieldHash } or $prq{'Tie::RefHash::Weak'} = 0;

WriteMakefile(
    NAME                => 'JE',
    AUTHOR              => 'Father Chrysostomos <sprout @ cpan . org>',
    VERSION_FROM        => 'lib/JE.pm',
    ABSTRACT_FROM       => 'lib/JE.pm',
    PL_FILES            => {},
    PREREQ_PM           => \%prq,
    dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz',
                             TAR => 'COPYFILE_DISABLE=1 tar' },
    clean               => { FILES => 'JE-*' },
);