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

Re: Find element in array

by LanX (Archbishop)
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2020-05-30 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (173 votes). Check out past polls.

    Notices?