develooper Front page | perl.perl5.porters | Postings from September 2019

[perl #134411] Clarify documentation

From:
KES
Date:
September 6, 2019 12:20
Subject:
[perl #134411] Clarify documentation
Message ID:
rt-4.0.24-17442-1567772418-1997.134411-75-0@perl.org
# New Ticket Created by  KES 
# Please include the string:  [perl #134411]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=134411 >


Hi.

Question about localization raises for this case: https://stackoverflow.com/q/57821354/4632019
```
my $field;
for $field ( qw' email phone name ' ) {
    last   if $user->$field =~ /$search/;
}
print $field; # undef
```

In the attachment I suggest to clarify DOC a bit

-- 
Best regards,
Eugen Konkov


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About