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
Comply with the 0x80th commandment
[perl5.git]
/
lib
/
I18N
/
LangTags.pm
diff --git
a/lib/I18N/LangTags.pm
b/lib/I18N/LangTags.pm
index
6a39cae
..
0bdc65f
100644
(file)
--- a/
lib/I18N/LangTags.pm
+++ b/
lib/I18N/LangTags.pm
@@
-489,7
+489,7
@@
lookup in %greetings fails. That's the Wrong Thing.
You could instead do lookups on $wanted with:
use I18N::LangTags qw(same_language_tag);
- my $re
ps
onse = '';
+ my $re
sp
onse = '';
foreach my $l2 (keys %greetings) {
if(same_language_tag($wanted, $l2)) {
$response = $greetings{$l2};