Okay, this part has me confused. Here we build up a node hash: my %node; %node{LEFT} = undef; %node{RIGHT} = undef; %node{VALUE} = $val is Found(0); $tree = %node; What has the Found property here? I look at that and I think the value associated with %node hash's VALUE key has the Found property. But later, this property is set and retrieved from, seemingly, the hash itself, with no reference to the VALUE key: sub search (HASH $tree is rw, *@_) { ... return $tree is Found($tree.Found+1); } Isn't the Found property on $tree{VALUE}? Or is this a totally separate Found property on the entire hash? And if so, why is the other Found property on the value associated with the VALUE key set at all, and then never accessed again? -John
- Re: Damian Conway's Exegesis 2 Mark Koopman
- Re: Damian Conway's Exegesis 2 John Siracusa
- Re: Damian Conway's Exegesis 2 Simon Cozens
- Re: Damian Conway's Exegesis 2 John Siracusa
- Re: Damian Conway's Exegesis 2 Simon Cozens
- Re: Damian Conway's Exegesis 2 Nathan Torkington
- Re: Damian Conway's Exegesis 2 Russ Allbery
- Re: Damian Conway's Exegesis 2 Edward Peschko
- Re: Damian Conway's Exegesis 2 Dan Sugalski
- Re: Damian Conway's Exegesis 2 Simon Cozens
- Re: Damian Conway's Exegesis 2 John Siracusa
- Re: Damian Conway's Exegesis 2 Edward Peschko
- Re: Damian Conway's Exegesis 2 Nathan Torkington
- Re: Damian Conway's Exegesis 2 Simon Cozens
- Re: Damian Conway's Exegesis 2 Damian Conway
- Re: Damian Conway's Exegesis 2 Brent Dax
- Re: Damian Conway's Exegesis 2 Mark Koopman
- Re: Damian Conway's Exegesis 2 Larry Wall
- Re: Damian Conway's Exegesis 2 Damian Conway
- Re: Damian Conway's Exegesis 2 John Siracusa
- Re: Damian Conway's Exegesis 2 Bryan C . Warnock