⭐
in reply to
How can I access the index variable in map?
To my knowledge, there's no index iterator in the
map
construct, presumably because it operates on lists (not just arrays).
Stick with a
for
loop of some kind.
Comment on
Re: How can I access the index variable in map?
In Section
Seekers of Perl Wisdom