Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Strange behavior with List::Util qw{first} on perl >= 5.20

by Anonymous Monk
on May 26, 2015 at 21:41 UTC ( #1127901=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MList::Util=first -le 'print first {lc eq "abc"}
        keys %{{ABC=>"ABC"}}'
    ...
    $ perl -MList::Util=first -le 'print first {lc eq "abc"}
        values @{["ABC"]}'
    ABC
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1127901]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2018-08-20 05:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (190 votes). Check out past polls.

    Notices?