Check an object implements an interface
It has long been noted that Perl would benefit from a does() built-in. A check that ref($thing) eq 'ARRAY' doesn't allow you to accept an object that uses overloading to provide an array-like interface. This package delivers Scalar::Does Perl module that can do it.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0.203-16.fc35 | - |
Fedora 35 | 0.203-16.fc35 | - |
Fedora 34 | 0.203-14.fc34 | - |
You can contact the maintainers of this package via email at
perl-Scalar-Does dash maintainers at fedoraproject dot org
.