Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How can I access the index variable in map?

by chromatic (Archbishop)
on Nov 02, 2000 at 07:48 UTC ( [id://39595]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://39595]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found