From 3cf6d6323b374dd6f32717ffa188a6ed9aa3f2d3 Mon Sep 17 00:00:00 2001 From: David Mitchell Date: Mon, 3 Apr 2017 17:32:58 +0100 Subject: [PATCH] utils/libnetcfg: fix 'do' without '.' in @INC Note that this isn't normally executed during build, so it wasn't spotted earlier. --- utils/libnetcfg.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/libnetcfg.PL b/utils/libnetcfg.PL index f66e9b0..e1e9ee2 100644 --- a/utils/libnetcfg.PL +++ b/utils/libnetcfg.PL @@ -343,7 +343,7 @@ my %oldcfg = (); $Net::Config::CONFIGURE = 1; # Suppress load of user overrides if( -f $libnet_cfg_in ) { - %oldcfg = ( %{ do $libnet_cfg_in } ); + %oldcfg = ( %{ local @INC = '.'; do $libnet_cfg_in } ); } elsif (eval { require Net::Config }) { -- 1.8.3.1