use ExtUtils::MakeMaker; # if this is Perl 5.8.0 then we need to check that the locale isn't # set to something UTF8-ish since that breaks this perl. More to the # point, it breaks HTML::Template during 'make test' which leads to # the erroneous belief that the problem is in HTML::Template. if ($] >= 5.008) { my $perl = join('.', (map { ord($_) } split("", $^V, 3))); if ($perl eq '5.8.0' and $ENV{LANG} and $ENV{LANG} =~ /UTF-?8/i) { die < 'HTML::Template', 'VERSION_FROM' => 'Template.pm', # finds $VERSION 'PREREQ_PM' => { 'Carp' => 0, 'File::Spec' => 0.82, 'Digest::MD5'=> 0, 'Test::More' => 0, }, );