develooper Front page | perl.perl5.porters | Postings from October 2007

Re: [perl #46987] OO-call failures, autoviv-functions & testing their existence

Thread Previous | Thread Next
From:
Graham Barr
Date:
October 29, 2007 16:56
Subject:
Re: [perl #46987] OO-call failures, autoviv-functions & testing their existence
Message ID:
9476B8C1-29B0-4CDE-8241-AA1E5CBA1353@pobox.com
On Oct 29, 2007, at 6:13 PM, Linda W wrote:
>
> 	Well this is the solution others come up with -- but no one
> even knew "why" until I reported the bug.  It's confusing and not
> behaving as the OO-language lookup is supposed to.

The OO lookup is working as it is supposed to. You created a  
subroutine stub by using \&foo, and stubs control the OO method  
lookup in perl.

Graham.


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About