1 # A template for Makefile.PL.
2 # - Set the $PACKAGE variable to the name of your module.
3 # - Set $LAST_API_CHANGE to reflect the last version you changed the API
5 # - Fill in your dependencies in PREREQ_PM
6 # Alternatively, you can say the hell with this and use h2xs.
10 use ExtUtils::MakeMaker;
12 $PACKAGE = 'Data::Util';
13 ($PACKAGE_FILE = $PACKAGE) =~ s|::|/|g;
14 $LAST_API_CHANGE = 0.03;
16 eval "require $PACKAGE";
18 unless ($@) { # Make sure we did find the module.
19 print <<"CHANGE_WARN" if ${$PACKAGE.'::VERSION'} < $LAST_API_CHANGE;
21 NOTE: There have been API changes between this version and any older
22 than version $LAST_API_CHANGE! Please read the Changes file if you
23 are upgrading from a version older than $LAST_API_CHANGE.
30 DISTNAME => 'Data-Hash-Utils',
31 VERSION_FROM => "lib/$PACKAGE_FILE.pm", # finds $VERSION
39 sub test_via_harness {
40 my($self, $orig_perl, $tests) = @_;
42 my @perls = ($orig_perl);
43 push @perls, qw(bleadperl)
44 if $ENV{PERL_TEST_ALL};
47 foreach my $perl (@perls) {
48 $out .= $self->SUPER::test_via_harness($perl, $tests);