- Name: perl-Scalar-Does
- Version: 0.201.0
- Release: 4.mga4
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: http://search.cpan.org/dist/Scalar-Does
- Summary: Additional constants for Scalar::Does, inspired by the built-in Moose type constraints
- Architecture: noarch
- Size: 37042
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: jquelin <jquelin>
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:
- BuildArch:
- ExcludeArch:
- ExclusiveArch:
- Cookie: sucuk.mageia.org 1385719092
- Buildhost: sucuk.mageia.org
Generated packages:
Other version of this rpm: