[prog] perl interfaces
johnston at biochemistry.ucl.ac.uk
Wed Apr 14 22:58:37 EST 2004
Has anyone had any experience of implementing interfaces or abstract
classes in perl? I want to be able to define an interface and to get an
error at compile time if implementations of that interface fail to define
any of the required methods. Is there any recommended way of doing this?
Googling turned up the interface.pm module, but it looks pretty new - has
anyone used it? Any pitfalls I should know about? Any other solutions I
ought to take a look at?
More information about the Programming