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!"; }
In reply to Re^2: Subs with 'extra stuff'?
by rvosa
in thread Subs with 'extra stuff'?
by rvosa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |