1 # Note: this file was auto-generated by Module::Build::Compat version 0.03
2 use ExtUtils::MakeMaker;
4 use File::Spec::Functions qw(catfile);
6 # VOS and VMS can't handle dodgy plugin names
7 # and VOS can't even unpack them so we create them on the
8 # fly and only run the tests if they're present
10 catfile(qw(OddTest Plugin -Dodgy.pm)) => 'OddTest::Plugin::-Dodgy',
11 catfile(qw(EditorJunk Plugin #Bar.pm#)) => 'EditorJunk::Bar',
12 catfile(qw(EditorJunk Plugin .#Bar.pm)) => 'EditorJunk::Bar',
16 unless (grep { lc($^O) eq $_ } qw(vms vos)) {
17 foreach my $test (keys %dodgy_files) {
18 my ($file) = (catfile($FindBin::Bin, "t", "lib", $test)=~/^(.*)$/);
19 if (open(FH, ">$file")) {
20 my $name = $dodgy_files{$test};
21 print FH "package $name;\nsub new {}\n1;";
31 'NAME' => 'Module::Pluggable',
32 'VERSION_FROM' => 'lib/Module/Pluggable.pm',
34 'File::Basename' => '0',
35 'File::Spec' => '3.00',
36 'Test::More' => '0.62'
39 'INSTALLDIRS' => ($] >= 5.008009) ? "perl" : "site",
41 'realclean' => {FILES=> join ' ', @files},