Rafael Morales wrote:
I'm using some design patterns (MVC, Observer, Strategy), with Perl, however I see that I need to create some interfaces (watching examples in Java and C++), but I don't know how to create these interfaces with Perl, for example in Java this is done with this: public interface SomeName () { # some code } Is this possible with Perl or is there any other way for do it ???
In a Perl class, all methods are public and the calling code isn't checked at compile time to make sure a method exists. So there is no need for an 'interface' in the ways that Java defines it. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/