Skip to content

Commit

Permalink
tofixup use more parens to keep older perls happy
Browse files Browse the repository at this point in the history
  • Loading branch information
leonerd committed Jun 12, 2024
1 parent d3b266b commit 3ad4acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Scalar/Util.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if( $^V >= v5.40 ) {
no strict 'refs';
my $builtins = \%{"builtin::"};

*$_ = *{ $builtins->{$_} }{CODE} for qw( blessed refaddr reftype weaken unweaken );
*$_ = *{ $builtins->{$_} }{CODE} for (qw( blessed refaddr reftype weaken unweaken ));
*isweak = *{ $builtins->{is_weak} }{CODE}; # renamed
}

Expand Down

0 comments on commit 3ad4acf

Please sign in to comment.