my Dog $lassie; # perl knows, at compile time, that lassie isa Dog