Bart Lateur <[EMAIL PROTECTED]> writes:

> On Fri, 8 Sep 2000 13:59:52 -0400, Michael G Schwern wrote:
> 
> >Consider:
> >
> >    my Dog $spot = Cat->new;
> >    print $spot->isa('Dog') ? 'Dog' : 'not dog';
> >
> >Currently, $spot is not a dog.  It should probably remain that way.
> 
> My gut feeling tells me you shouldn't be allowed to assign a non-Dog to
> $spot.

See my draft RFC over in perl-language-objects to that effect.

-- 
Piers

Reply via email to