in reply to Re: Storing/Calling References to Instance Methods
in thread Storing/Calling References to Instance Methods

Thanks merlyn. You are the man!

For a minute I thought I had maybe stumbled upon a way to obtain the value the pointed to function returns by just accessing it via the $obj->{$key} deref mechanism. That would be cool. I don't suppose that is actually possible is it?

Thanks again.

-Matt
  • Comment on Re^2: Storing/Calling References to Instance Methods

Replies are listed 'Best First'.
Re^3: Storing/Calling References to Instance Methods
by ikegami (Patriarch) on Sep 20, 2007 at 16:40 UTC
    You could create a tied hash where $tied{$key} calls the "Get" function. But i think that would just obfuscate in this situation.