[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] fun with inheritance



In article <Pine.GSO.4.21.0006052251180.27325-100000@crusoe.crusoe.net>,
Jeff Pinyan <jeffp@crusoe.net> wrote:
> I offer some meager (but fun) ways to play with objects:
> 
>   # doing SUPER:: anywhere you want
>   $obj = new MyClass;
>   {
>     local *MyClass::method;

and:  local *MyClass::AUTOLOAD;
to more properly mimic SUPER.

>     $obj->method();  # forces @ISA search
>   }

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe