in reply to Re: Fixing nits with $object->can($method);
in thread Fixing nits with $object->can($method);
People shouldn't do that. The documentation has a warning about that now. Use blessed() from Scalar::Util instead.
I wrote an entire article about this and other traps in The Perl Review's Winter 2005 edition.
|
|---|