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-23.fc40 | - |
Fedora 40 | 0.203-23.fc40 | - |
Fedora 39 | 0.203-21.fc39 | - |
Fedora 38 | 0.203-20.fc38 | - |
You can contact the maintainers of this package via email at
perl-Scalar-Does dash maintainers at fedoraproject dot org
.