Cloudbook:
C
Home
Control
Foreach
§ 1
↵ lesson
next →
C-O-matic
If statement
Else statement
Foreach statment
Foreach
@dna_sequence = ('a','g','t','a','a','t','u') ; foreach $base ( @dna_sequence ) { print "$base\n" ; } print "done.\n" ;
The output goes here