Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Find element in array

by LanX (Cardinal)
on Feb 16, 2020 at 12:43 UTC ( #11113021=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $idx=-1;
    for my $nucleotide (@DNA){
    ...
        ...
    }
    
  2. or download this
    while ( my ($idx, $nucleotide) = each @DNA){
        ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2020-08-12 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (65 votes). Check out past polls.

    Notices?