This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for #129287 / b43665
[perl5.git] / utils / h2ph.PL
index d082f22..2523c0a 100644 (file)
@@ -36,6 +36,8 @@ $Config{startperl}
 
 print OUT <<'!NO!SUBS!';
 
+BEGIN { pop @INC if $INC[-1] eq '.' }
+
 use strict;
 
 use Config;