Description
perl-asa - Lets your class/object say it works like something else
Distribution: OpenMandriva Lx 3.0
Repository: OpenMandriva Contrib i586
Package name: perl-asa
Package version: 1.30.0
Package release: 4-omv2015.0
Package architecture: noarch
Package type: rpm
Installed size: 34.54 KB
Download size: 18.11 KB
Official Mirror: abf-downloads.openmandriva.org
Perl 5 doesn't natively support Java-style interfaces, and it doesn't
support Perl 6 style roles either.
You can get both of these things in half a dozen different ways via various
CPAN modules, but they usually require that you buy into "their way" of
implementing your code.
Other have turned to "duck typing".