Re: Module for detecting if a method is overridden

2009-03-08 Thread Eric Wilhelm
# from Ovid # on Sunday 08 March 2009 09:48: >I want to write a module which allows me to quickly detect if a method > is overriding a parent class method >... >    sub foo :override{...} # fails if it doesn't override >    sub bar {...}             # fails if it does override >... >    use Metho

Module for detecting is a method is overridden

2009-03-08 Thread Ovid
I want to write a module which allows me to quickly detect if a method is overriding a parent class method (I already know about the method cache invalidation problem). Potential uses would be for something like this: use Attribute::Override; use parent 'Some::Class'; sub foo :ov