Lets your class/object say it works like something else
http://search.cpan.org/dist/asa
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".
This is, for the most part, a fairly naive check that says "can you do
this method", under the "if it looks like a duck, and quacks like a duck,
then it must be a duck".
- Sources inherited from project openSUSE:Leap:42.3
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.3:Update/perl-asa && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
asa-1.03.tar.gz | 0000030840 30.1 KB | |
perl-asa.changes | 0000000816 816 Bytes | |
perl-asa.spec | 0000003510 3.43 KB |
Revision 1 (latest revision is 3)
Ludwig Nussel (lnussel_factory)
accepted
request 418238
from
Max Lin (mlin7442)
(revision 1)
Automatic request from openSUSE:Factory by F-C-C Submitter. Please review this change and decline it if Leap do not need it.
Comments 0