Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Using an array element as a loop iteratorby Kenosis (Priest) |
on Nov 07, 2013 at 23:36 UTC ( [id://1061641]=note: print w/replies, xml ) | Need Help?? |
The question's ambiguous because it's not well formed (with all due respect to the OP). Consider the following:
The array elements in the above array are 2, 4 and 6. Can 2 be used as a loop iterator? $a[1] is not an array element. One assumes that $a[1] is the referent of the phrase "array element," but that assumption requires disambiguating the OP's use of that phrase.
In Section
Seekers of Perl Wisdom
|
|