Just another Perl shrine | |
PerlMonks |
Re: OOP: Plugin Style Developmentby jaldhar (Vicar) |
on Jul 22, 2002 at 19:24 UTC ( [id://184191]=note: print w/replies, xml ) | Need Help?? |
As you've probably noticed, perl doesn't have a formal concept of an "interface" like say, java or COM. There is no way to guarantee a subclass will ALWAYS follow the right behavior. Unlike "bondage & discipline" languages, perl trusts programmers to do the right thing. For examples of perl modules with plugin type abilities see DBI or XML::SAX. --
In Section
Seekers of Perl Wisdom
|
|