aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Scalar-Does/pkg-descr
blob: d2c6d444ba60e35a9a7fcad70fa633a4e5fe602d (plain) (blame)
1
2
3
4
5
Scalar::Does 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.

WWW: https://metacpan.org/release/Scalar-Does