Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Exegesis 6 - Named binding

by Cine (Friar)
on Jul 31, 2003 at 14:19 UTC ( #279586=note: print w/replies, xml ) Need Help??


in reply to Re: Exegesis 6 - Named binding
in thread Exegesis 6 - Named binding

Ups, wrong choice of words. Offcourse meant to write bound after all I am using the binding operator :=.

T I M T O W T D I

Replies are listed 'Best First'.
Re: Re: Re: Exegesis 6 - Named binding
by Elian (Parson) on Jul 31, 2003 at 14:47 UTC
    Then the answer's yes--because the key has the same name as the variable on the left side of the assignment that key's value is bound to the variable. That's how it's supposed to work, as it means you don't have to rely on hash ordering or manual looping over the RHS. It's essentially named arguments for binding, though I can see cases where it wouldn't necessarily be what you want to do...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2022-08-18 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?