Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
AltCalendars: keys on ref is fatal under perl 5.24 (#4418)
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsoft authored and moollaza committed Aug 25, 2017
1 parent 237fd9f commit a2b28cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DDG/Goodie/AltCalendars.pm
Expand Up @@ -15,7 +15,7 @@ my $year_definitions = decode_json($definitions_json);
my %year_map_with_aliases = map {
my $name = $_;
map { $_ => $name } ($name, @{$year_definitions->{$name}->{'aliases'} // []})
} (keys $year_definitions);
} (keys %{$year_definitions});

triggers any => keys %year_map_with_aliases;

Expand Down

0 comments on commit a2b28cb

Please sign in to comment.