OK, this is for a MVC implementation, but all examples I have seen are done with Java or C++, even php5 which uses the same keyword "interface", and this interface is a way for comunicate between classes.
> ----- Original Message ----- > From: "Paul Lalli" <[EMAIL PROTECTED]> > To: beginners@perl.org > Subject: Re: Programming an interface with Perl > Date: Wed, 01 Aug 2007 12:22:44 -0700 > > > On Aug 1, 2:20 pm, [EMAIL PROTECTED] (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 ??? > > For those of us who are Java-ignorant (and mostly proud of it), > perhaps you could describe what it is you actually want to do, rather > than just telling us how you would do it in another language. > > "Interface" as a generic word means something completely different > than it means as a Java keyword, and I don't at all remember from the > one semester of Java I took 7 years ago what that meaning is. > > Paul Lalli > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > -- _______________________________________________ Get your free email from http://bsdmail.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/