Class::InterfacesClass::Interfaces is a Per module for defining interface classes inline. | |
Download |
Class::Interfaces Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Stevan Little
- Publisher web site:
- http://search.cpan.org/~stevan/
Class::Interfaces Tags
Class::Interfaces Description
Class::Interfaces is a Per module for defining interface classes inline. Class::Interfaces is a Per module for defining interface classes inline.SYNOPSIS # define some simple interfaces use Class::Interfaces ( Serializable => , Printable => , Iterable => , Iterator => ); # or some more complex ones ... # interface can also inherit from # other interfaces using this form use Class::Interfaces ( BiDirectionalIterator => { isa => 'Iterator', methods => }, ResetableIterator => { isa => 'Iterator', methods => }, # we even support multiple inheritance ResetableBiDirectionalIterator => { isa => } ); # it is also possible to create an # empty interface, sometimes called # a marker interface use Class::Interfaces ( JustAMarker => undef );This module provides a simple means to define abstract class interfaces, which can be used to program using the concepts of interface polymorphism. Requirements: · Perl
Class::Interfaces Related Software