Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Ignore Case when comparing Hash Keys

by moritz (Cardinal)
on Nov 15, 2010 at 18:40 UTC ( [id://871536]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %lc1 = %hash1.keys>>.lc Z %hash1.values;
    for %hash2.keys -> $k {
        say "$k ", %lc1.exists($k) ?? 'Matched' !! 'Did not match';
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-24 07:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found