This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
VMS tweak (suggested by Craig A. Berry <craig.berry@metamor.com>)
[perl5.git] / ext / B / defsubs_h.PL
index dc4275b..80ef936 100644 (file)
@@ -2,7 +2,7 @@
 # this file as a template for defsubs.h
 # Extracting defsubs.h (with variable substitutions)
 #!perl
 # this file as a template for defsubs.h
 # Extracting defsubs.h (with variable substitutions)
 #!perl
-my ($out) = __FILE__ =~ /(^.*)\.PL/;
+my ($out) = __FILE__ =~ /(^.*)\.PL/i;
 $out =~ s/_h$/.h/;
 open(OUT,">$out") || die "Cannot open $file:$!";
 print "Extracting $out...\n";
 $out =~ s/_h$/.h/;
 open(OUT,">$out") || die "Cannot open $file:$!";
 print "Extracting $out...\n";