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

Re: How to I check if a value is present in an array?

by moritz (Cardinal)
on Aug 03, 2013 at 10:54 UTC ( #1047694=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $current (@genes) {
        if (grep { $_ eq $current } @gl) {
             print $current;
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047694]
help
Chatterbox?
[LanX]: damn cho, I wanted to consider a duplicate again, thus creating a linked list of reaped nodes ;-)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-05-24 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?