I thought it will take first value of $pic{R0}, which is 5 but it is taking $pic{R0} second value.
To emphasize something that Corion pointed out in his answer: Hashes are unordered. There is no "first" or "second" value. If you need things in order, you should probably put them in an array, not a hash.
my %pic = ( R0 => [ 5, 4 ], R2 => [ 3, 2 ] );
In reply to Re: NEXT statement in for loop
by Anonymous Monk
in thread NEXT statement in for loop
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |