- 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: 78113
- 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:
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables
- Cookie: sucuk.mageia.org 1385719092
- Buildhost: sucuk.mageia.org