This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump the perl version in various places for 5.31.1
[perl5.git]
/
utils
/
libnetcfg.PL
diff --git
a/utils/libnetcfg.PL
b/utils/libnetcfg.PL
index
26d2f99
..
e1e9ee2
100644
(file)
--- a/
utils/libnetcfg.PL
+++ b/
utils/libnetcfg.PL
@@
-18,7
+18,7
@@
chdir dirname($0);
my $file = basename($0, '.PL');
$file .= '.com' if $^O eq 'VMS';
my $file = basename($0, '.PL');
$file .= '.com' if $^O eq 'VMS';
-open OUT,
">$file"
or die "Can't create $file: $!";
+open OUT,
">", $file
or die "Can't create $file: $!";
print "Extracting $file (with variable substitutions)\n";
print "Extracting $file (with variable substitutions)\n";
@@
-343,7
+343,7
@@
my %oldcfg = ();
$Net::Config::CONFIGURE = 1; # Suppress load of user overrides
if( -f $libnet_cfg_in )
{
$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 })
{
}
elsif (eval { require Net::Config })
{