This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change #4149 necessitates also a small code change.
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 14 Sep 1999 20:30:00 +0000 (20:30 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 14 Sep 1999 20:30:00 +0000 (20:30 +0000)
p4raw-id: //depot/cfgperl@4156

ext/B/defsubs_h.PL

index 2129c8c..8dfa3a5 100644 (file)
@@ -4,6 +4,7 @@
 #!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";
 foreach my $const (qw(AVf_REAL