What about abstract classes? One can always prepare empty methods in a class that croak if they are not overwritten. The usage of SQL::Statement in DBI provides an example.
BTW Java Interfaces are mostly used to mimic multiple inheritance or as a marker ("this class can this or that").
Both usages are not needed in perl because it can be done directly.
In reply to Re: Interfaces for the masses!
by dokkeldepper
in thread Interfaces for the masses!
by rvosa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |