Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
%aminoacids = ( 1 => 'Tyrosine', 2 => 'Glycine', 3 => 'Leucine', ); for($i = 1; $i<4; $i++) { for($j = 1; $j<4; $j++) { for($k = 1; $k<4; $k++) { # another test print command #print "$i $j $k\n"; # want to print out for example tyrosine tyrosine leucine if $ +i = 1, $j = 1 and $k = 3 } } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: help with hashes
by gaal (Parson) on Mar 15, 2005 at 11:56 UTC | |
Re: help with hashes
by manav (Scribe) on Mar 15, 2005 at 12:21 UTC | |
Re: help with hashes
by kryberg (Pilgrim) on Mar 15, 2005 at 14:55 UTC | |
Re: help with hashes
by artist (Parson) on Mar 15, 2005 at 12:15 UTC | |
Re: help with hashes
by cbrandtbuffalo (Deacon) on Mar 15, 2005 at 18:15 UTC |