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

Re: Multiple classifications of an object

Dan Sugalski
June 25, 2001 13:00
Re: Multiple classifications of an object
Message ID:
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.


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai                         have teddy bears and even
                                      teddy bears get drunk Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About