in reply to Re^2: isa() on any scalar
in thread isa() on any scalar

can() will report false if the method in question is handled by autoload

Anybody who uses AUTOLOAD in this way should also override can appropriately.

Replies are listed 'Best First'.
Re^4: isa() on any scalar
by shemp (Deacon) on Jun 10, 2005 at 21:31 UTC
    Thats a very good point, i hadn't really thought about overriding can().

    Then again i have learned to stay away from AUTOLOAD whenever possible.