Larry Wall wrote:
> I think the switch statement will have to recognize any
> Class::Name known at compile time, and force it to call
> $!.isa(Class::Name).

Don't you mean the case/when statement? Wouldn't you want the following to
work:

for @obj {
  when Dog { ... }
  when Cat { ... }
}

Reply via email to