BSD Ports

devel/p5-Params-Classify 0.015nb9 NetBSD

Perl5 module for argument type classification

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
17.6 KiB, 53.0 KiB installed

Description

This module provides various type-testing functions. These are intended for functions that, unlike most Perl code, care what type of data they are operating on. For example, some functions wish to behave differently depending on the type of their arguments (like overloaded functions in C++).

There are two flavours of function in this module. Functions of the first flavour only provide type classification, to allow code to discriminate between argument types. Functions of the second flavour package up the most common type of type discrimination: checking that an argument is of an expected type. The functions come in matched pairs, of the two flavours, and so the type enforcement functions handle only the simplest requirements for arguments of the types handled by the classification functions. Enforcement of more complex types may, of course, be built using the classification functions, or it may be more convenient to use a module designed for the more complex job, such as Params::Validate.

In the other systems

SystemPortVersion
NetBSDdevel/p5-Params-Classify0.015nb9
FreeBSDdevel/p5-Params-Classify0.015
OpenBSDdevel/p5-Params-Classify0.015p0
DragonFlydevel/p5-Params-Classify0.015
MidnightBSDdevel/p5-Params-Classify0.015
HardenedBSDdevel/p5-Params-Classify0.015
GhostBSDdevel/p5-Params-Classify0.015

Install

Binary package:

pkgin install p5-Params-Classify

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Params-Classify && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.015nb9
NetBSD 10.1 aarch640.015nb8
SmartOS / illumos x86_640.015nb9
macOS 15 arm640.015nb9

Dependencies

Run dependencies 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0