Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Exegesis 6 - Named binding

by Cine (Friar)
on Jul 31, 2003 at 14:19 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-03-28 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found