in reply to Re: Subs with 'extra stuff'?
in thread Subs with 'extra stuff'?
So that you can query whether a method call you are about to make is implemented by the right class - and not by SUPER:: in an interface - without using eval { ... } blocks.sub set_name : Interface { croak "Not implemented!"; } sub get_name : Interface { croak "Not implemented!"; }
|
|---|