in reply to Re^2: I don't understand UNIVERSAL::DOES()
in thread I don't understand UNIVERSAL::DOES()
For those of us who can't just presume that 5.010 <= $], how about making UNIVERSAL::isa() check $_[0]->can("isa") if $_[0] is blessed and deferring to that sub if it isn't UNIVERSAL::isa()? Or do you also need to worry about Some::Class::isa() calling UNIVERSAL::isa() and is there no sane way to work around that even from C? Or is there some other reason that this wouldn't be a good idea?
- tye
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: I don't understand UNIVERSAL::DOES() (automethodizing)
by demerphq (Chancellor) on Mar 10, 2007 at 10:50 UTC |