X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/df07980b154b7c36052acde25776ead361a7a6b0..8d76bf978a59f6bca6a009937589d3e2b0996e99:/script/locale/diff?ds=sidebyside diff --git a/script/locale/diff b/script/locale/diff index a052e1b98..0335fe983 100755 --- a/script/locale/diff +++ b/script/locale/diff @@ -2,7 +2,7 @@ use feature ':5.10'; use strict; use warnings; -use YAML::Syck qw(Load LoadFile); +use YAML::Syck qw(LoadFile); use Test::Differences; use Pod::Usage (); use Getopt::Long (); @@ -149,7 +149,7 @@ sub prune_untranslated_with_blacklist my %keys; @keys{@keys} = (); - my $end_yaml = Load(join '', ); + my $end_yaml = LoadFile(*DATA); my $untranslated_values = $end_yaml->{untranslated_values}; my $default = $untranslated_values->{default}; my $this_language = $untranslated_values->{$language} || {};