Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: using hash to compare with string and print the string

by WoodyWeaver (Monk)
on May 16, 2019 at 13:38 UTC ( [id://11100082]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @array = qw/b d a c/;
    
    ...
        c  => 30,
        d  => 40
    );
    
  2. or download this
    my @keys = qw(b d a c);
    my @values = qw(200 100 30 40);
    
    my %hash;
    @hash{@keys} = @values;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-29 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found