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

Reply via email to