Sunday afternoon hack: calling object methods on ARRAY and HASH refs

Andy Armstrong andy at hexten.net
Sun Jun 15 17:37:14 BST 2008


On 15 Jun 2008, at 17:30, Andy Wardley wrote:
> Out of idle curiosity, I was wondering how hard it would be to make  
> perl do
> what TT does when you try and call a method on a list or hash  
> reference.
> That is, look for a method defined somewhere else (virtual methods  
> in TT
> speak).


http://search.cpan.org/~chocolate/autobox/lib/autobox.pod

?

-- 
Andy Armstrong, Hexten






More information about the london.pm mailing list