This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Artistic fine-tuning.
[perl5.git] / ext / B / defsubs_h.PL
index 2129c8c..78c82f2 100644 (file)
@@ -4,8 +4,9 @@
 #!perl
 my ($out) = __FILE__ =~ /(^.*)\.PL/;
 if ($^O eq 'VMS') { ($out) = __FILE__ =~ /^(.+)_PL$/i; }
+$out =~ s/_h$/.h/;
 open(OUT,">$out") || die "Cannot open $file:$!";
-print "Extracting $out . . .\n";
+print "Extracting $out...\n";
 foreach my $const (qw(AVf_REAL 
                      HEf_SVKEY
                       SVf_IOK SVf_IVisUV SVf_NOK SVf_POK