summaryrefslogtreecommitdiff
path: root/ext/B/defsubs_h.PL
diff options
context:
space:
mode:
Diffstat (limited to 'ext/B/defsubs_h.PL')
-rw-r--r--ext/B/defsubs_h.PL5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/B/defsubs_h.PL b/ext/B/defsubs_h.PL
index 8dfa3a5fe2..80ef936fce 100644
--- a/ext/B/defsubs_h.PL
+++ b/ext/B/defsubs_h.PL
@@ -2,11 +2,10 @@
# this file as a template for defsubs.h
# Extracting defsubs.h (with variable substitutions)
#!perl
-my ($out) = __FILE__ =~ /(^.*)\.PL/;
-if ($^O eq 'VMS') { ($out) = __FILE__ =~ /^(.+)_PL$/i; }
+my ($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