libscalar-does-perl

like ref() but useful

Description

Scalar::Does provides 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.

This package also includes IO::Detect, for detecting if a scalar is a filehandle (or something filehandle-like).

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Scalar-Does


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libscalar-does-perl