Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Using 'keys' on a list

by Anonymous Monk
on Jun 29, 2021 at 22:09 UTC ( #11134467=note: print w/replies, xml ) Need Help??


in reply to Re^2: Using 'keys' on a list
in thread Using 'keys' on a list

And this would have its own iterator?

Replies are listed 'Best First'.
Re^4: Using 'keys' on a list
by Corion (Patriarch) on Jun 30, 2021 at 05:55 UTC

    Yes, that's the point of this syntax. It wouldn't help for the case of the OP, as the call to f() will still generate the whole list.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2022-05-18 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (70 votes). Check out past polls.

    Notices?