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

Re: How to compare hash values to array values in Perl

by kcott (Archbishop)
on May 14, 2014 at 05:18 UTC ( [id://1085977]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %vals = map { $_ => 1 } <FILE2>;
    print $_->[0] for grep { $vals{$_->[1]} } map { [ split / / ] } <FILE1
    +>;
    
  2. or download this
    #!/usr/bin/env perl -l
    
    ...
    1448
    2762
    1395
    
  3. or download this
    xanmn_chr09_0114-xanmn_chr09_0114
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-04-23 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found