can walks @ISA as well, AFAIK.foreach my $meth(@required_methods) { unless($obj->can($meth)) { die "Object has not implemented or inhereted method $meth!\n"; } }
In reply to Re: Interfaces in Perl?
by rpc
in thread Interfaces in Perl?
by gregorovius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |