develooper Front page | perl.perl6.language | Postings from June 2001

Re: Multiple classifications of an object

From:
Dan Sugalski
Date:
June 25, 2001 13:00
Subject:
Re: Multiple classifications of an object
Message ID:
5.1.0.14.0.20010625154622.020d7320@24.8.96.48
At 12:05 PM 6/25/2001 -0700, Peter Scott wrote:
>At 11:44 AM 6/25/01 -0700, David Whipp wrote:
>>Can anyone see any problems with making C<bless> and
>>C<ref> work with lists? C<isa> is not effected. We
>>might want some magic to ensure 'ref($foo) eq "bar"'
>>still works as expected.
>
>What's wrong with multiple inheritance?

Nothing, but he wants MI on a per-object basis, rather than a per-class 
basis, presumably to avoid having to create a zillion classes who's sole 
purpose in life is to have an @ISA array.

Sounds sensible, and worth sending past Damian.

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk




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