Michael Fowler wrote:
>
> my Dog $spot; # $spot is now a blessed Dog object
> $spot->name("Fido"); # $spot->{'name'} eq "Fido"
>
> print ref $spot; # yes, "Dog"
>
> $spot = new Dalmation; # now $spot is a Dalmation object
Yes, but the Dalmation $spot will *not* have the name "Fido," will it?
David
- Re: RFC 171 (v2) my Dog $spot shoul... David E. Wheeler
- Re: RFC 171 (v2) my Dog $spot should cal... Piers Cawley
- Re: RFC 171 (v2) my Dog $spot shoul... Michael Fowler
- Re: RFC 171 (v2) my Dog $spot s... Piers Cawley
- Re: RFC 171 (v2) my Dog $spot s... Nathan Wiger
- Re: RFC 171 (v2) my Dog $spot should call a cons... Nathan Wiger
- Re: RFC 171 (v2) my Dog $spot should call a ... Piers Cawley
- Re: RFC 171 (v2) my Dog $spot should cal... Nathan Wiger
- Re: RFC 171 (v2) my Dog $spot shoul... Piers Cawley
- Re: RFC 171 (v2) my Dog $spot should call a ... Michael Fowler
- Re: RFC 171 (v2) my Dog $spot should cal... David E. Wheeler
- Re: RFC 171 (v2) my Dog $spot shoul... Michael Fowler
- Re: RFC 171 (v2) my Dog $spot s... David E. Wheeler
- Re: RFC 171 (v2) my Dog $spot s... Michael Fowler
- Re: RFC 171 (v2) my Dog $spot s... Bart Lateur
- Re: RFC 171 (v2) my Dog $spot s... Michael Fowler
- Re: RFC 171 (v2) my Dog $spot s... Piers Cawley
- Re: RFC 171 (v2) my Dog $spot should call a cons... Michael Fowler
- Re: RFC 171 (v2) my Dog $spot should call a ... Piers Cawley
- Re: RFC 171 (v2) my Dog $spot should cal... Michael Fowler
- Re: RFC 171 (v2) my Dog $spot should call a constructor i... Slaven Rezic
