The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:Scalar-Does MooseX-Types-Overload"

Scalar::Does - like ref() but useful River stage two • 11 direct dependents • 32 total dependents

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 ...

TOBYINK/Scalar-Does-0.203 - 31 Jan 2017 17:31:09 UTC
1 result (0.058 seconds)