Do you know where your variables are? | |
PerlMonks |
How can I access the index variable in map?by Anonymous Monk |
on Nov 02, 2000 at 07:02 UTC ( [id://39590]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (arrays)
# This works:
but I'd like to use map. Is there a way to access the map index [$i] variable so I can do something like this: Or is it simply not worth it? Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|