Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 5b36b777161c7489493988d1a5354237

perl-Scalar-Does-0.10.0-2.mga3.noarch.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:

Sources packages:

Other version of this rpm: