Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > f0560c15924bd364a63518cc2edba694

perl-Scalar-Does-0.10.0-2.mga3.src.rpm

Description:

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.

Functions
* 'does($scalar, $role)'

Checks if a scalar is capable of performing the given role. The
following (case-sensitive) roles are predefined:

Generated packages:

Other version of this rpm: