BSD Ports

devel/p5-Test-Identity 0.01 OpenBSD

assert the referential identity of a reference

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Alexander Bluhm <[email protected]>
Categories
devel, perl5

Description

This module provides a single testing function, "identical". It asserts that a given reference is as expected; that is, it either refers to the same object or is "undef". It is similar to "Test::More::is" except that it uses "refaddr", ensuring that it behaves correctly even if the references under test are objects that overload stringification or numification.

In the other systems

SystemPortVersion
OpenBSDdevel/p5-Test-Identity0.01
FreeBSDdevel/p5-Test-Identity0.01_1
NetBSDdevel/p5-Test-Identity0.01nb13
DragonFlydevel/p5-Test-Identity0.01_1
MidnightBSDdevel/p5-Test-Identity0.01_1
HardenedBSDdevel/p5-Test-Identity0.01_1
GhostBSDdevel/p5-Test-Identity0.01_1

Install

Binary package:

pkg_add p5-Test-Identity

From the ports tree:

cd /usr/ports/devel/p5-Test-Identity && make install

Dependencies

Build dependencies 1

No port depends on this one.