On Fri, May 31, 2002 at 12:02:35AM +0100, Mark Fowler wrote:
> The problem is I'm not sure what order TT checks for an object's methods / 
> AUTOLOAD / hash and I was confusing myself.  For the record, what order 
> should this be in?

If it's an object then it tries to call the method first, and failing
that, it looks inside the hash to see if it can find the key and 
return it.

If there's an object method then there's no way to get to the hash key
that I can think of.  My line of thinking is that if an object provides
an accessor method then you probably shouldn't be poking around inside
it looking for the value itself.

I suppose you could add a second method to the plugin to set/get the 
hash value that you're after.

Cheers
A






Reply via email to