hv_fetchs() support
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / t / hints.t
index b74690f..96bb09d 100644 (file)
@@ -20,7 +20,9 @@ my $curdir = File::Spec->curdir;
 @INC = grep { $_ ne $curdir && $_ ne '.' } @INC;
 
 mkdir('hints', 0777);
-my $hint_file = File::Spec->catfile('hints', "$^O.pl");
+(my $os = $^O) =~ s/\./_/g;
+my $hint_file = File::Spec->catfile('hints', "$os.pl");
+
 open(HINT, ">$hint_file") || die "Can't write dummy hints file $hint_file: $!";
 print HINT <<'CLOO';
 $self->{CCFLAGS} = 'basset hounds got long ears';