BSD Ports

devel/p5-Types-Core 0.3.2 DragonFly

Core types defined as tests and literals

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
21.5 KiB, 47.7 KiB installed

Description

Types::Core provides syntax symplifier for type checking. It allows easy, non-quoted usage of types as literals, and allows the standard type names to be used as true/false check routines of references.

For the most basic functions, they take either 0 or 1 arguments. If 1 parameter, then they test it to see if the ref is of the given type (blessed or not). If false, undef is returned, of true, the ref, itself is returned.

For no args, they return literals of themselves, allowing the named strings to be used as Literals without quotes.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Types-Core0.3.2
FreeBSDdevel/p5-Types-Core0.3.2
HardenedBSDdevel/p5-Types-Core0.3.2
GhostBSDdevel/p5-Types-Core0.3.2

Install

Binary package:

pkg install p5-Types-Core

From DPorts:

cd /usr/dports/devel/p5-Types-Core && make install clean

Dependencies

Run dependencies 3

No port depends on this one.