On Thursday 06 April 2006 17:53, Adam Kennedy wrote: > UNIVERSAL::isa/can when called as a function does a very specific thing, > and one that is often misunderstood.
... and never correct, in the face of proxy objects, blessed objects, overloading, and ties. > And if you were able to distinguish between good and bad uses, then fine. > > The problem comes that under UNIVERSAL::isa/can there is NO way to > UNIVERSAL::isa/can in the documented way. From the documentation in bleadperl: =head1 EXPORTS None by default. You may request the import of all three functions (C<isa>, C<can>, and C<VERSION>), however it is usually harmful to do so. Please don't do this in new code. -- c