Skip to content

Commit

Permalink
Item11262: fix tools/configure on older Perls
Browse files Browse the repository at this point in the history
Support for automatic derefencing of hashrefs was added in Perl 5.14
  • Loading branch information
Florian Schlichting committed Jan 12, 2015
1 parent 031addc commit f77d115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tools/configure
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ if ($action) {
_reply($response);

# Copy the changes into the "set" hash to be applied by save.
if ( keys $response->{changes} ) {
if ( keys %{ $response->{changes} } ) {
if ( $actions{save} ) {
$params->{set} = $response->{changes};
}
Expand Down

0 comments on commit f77d115

Please sign in to comment.