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
- Re: Pre-RFC - "use warnings" by default for al... Chaim Frenkel
- Re: Pre-RFC - "use warnings" by default for al... Chaim Frenkel
- Re: Pre-RFC - "use warnings" by default for al... Tom Christiansen
- Re: Pre-RFC - "use warnings" by default for al... Michael G Schwern
- Re: Pre-RFC - "use warnings" by default for al... Tom Christiansen
- Re: Pre-RFC - "use warnings" by default for al... Michael G Schwern
- Re: Pre-RFC - "use warnings" by default for al... Piers Cawley
- Re: Pre-RFC - "use warnings" by default for al... Michael G Schwern
- Re: Pre-RFC - "use warnings" by default for al... Bart Lateur
- Re: Pre-RFC - "use warnings" by default for al... Piers Cawley
- Piers Cawley