BSD Ports

devel/p5-Test-Identity 0.01_1 MidnightBSD

Assert the referential identity of a reference

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
devel, perl5

Description

Test::Identity 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.

It also provides better diagnostics if the test fails.

In the other systems

The newest version among them is 0.01, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-Test-Identity0.01_1 newestno data-[email protected]-
FreeBSDdevel/p5-Test-Identity0.01_1 newestnone known-[email protected]-
OpenBSDdevel/p5-Test-Identity0.01 newestno data-Alexander Bluhm <[email protected]>-
NetBSDdevel/p5-Test-Identity0.01nb13 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Test-Identity0.01_1 newestnone known-[email protected]-
HardenedBSDdevel/p5-Test-Identity0.01_1 newestno data-[email protected]-
GhostBSDdevel/p5-Test-Identity0.01_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Test-Identity

From mports:

cd /usr/mports/devel/p5-Test-Identity && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Test-Identity>0:devel/p5-Test-Identity

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Test/Identity.pm
  • %%PERL5_MAN3%%/Test::Identity.3.gz
distinfo 1
FileSizeSHA256
Test-Identity-0.01.tar.gz108892f0205009aed152668182aafa16357ab1f47b4cbc001e89871b67387ef8e5f23
Master sites 1
  • CPAN