On Fri, 2005-11-04 at 22:53 +0100, A. Pagaltzis wrote: > b) Who cares? We just want to know whether calling ->isa() is > safe, and UNIVERSAL::can answers that handily.
But it's *wrong* and you oughtn't ever use it where someone else might see it and think that it's okay, because it's *wrong* and *broken*. I swear, the next time I see someone say that it's okay to call a method as a function, I'm really going to put UNIVERSAL::new on the CPAN and recommend people use it instead of calling any constructor defined in any class anywhere. By gum, you'll get used to blessed typeglobs. -- c