Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^7: Using 'keys' on a list

by Marshall (Canon)
on Jul 02, 2021 at 23:02 UTC ( #11134606=note: print w/replies, xml ) Need Help??


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

You are the one claiming things that don't make sense.

In general, passing a ref to a hash that has been created in a sub is much, much more efficient than passing the key/value pairs as a list to the caller. Period.

The case presented by the OP is a bizarre thing.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2021-12-08 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (34 votes). Check out past polls.

    Notices?