How to Install and Uninstall perl-Test-Identity Package on openSUSE Leap
Last updated: November 26,2024
1. Install "perl-Test-Identity" package
This guide let you learn how to install perl-Test-Identity on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-Test-Identity
Copied
2. Uninstall "perl-Test-Identity" package
Here is a brief guide to show you how to uninstall perl-Test-Identity on openSUSE Leap:
$
sudo zypper remove
perl-Test-Identity
Copied
3. Information about the perl-Test-Identity package on openSUSE Leap
Information for package perl-Test-Identity:
-------------------------------------------
Repository : Main Repository
Name : perl-Test-Identity
Version : 0.01-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 24.8 KiB
Installed : No
Status : not installed
Source package : perl-Test-Identity-0.01-bp155.2.10.src
Upstream URL : http://search.cpan.org/dist/Test-Identity/
Summary : Assert the Referential Identity of a Reference
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.
It also provides better diagnostics if the test fails:
$ perl -MTest::More=tests,1 -MTest::Identity -e'identical [], {}'
1..1
not ok 1
$ perl -MTest::More=tests,1 -MTest::Identity -e'identical [], []'
1..1
not ok 1
-------------------------------------------
Repository : Main Repository
Name : perl-Test-Identity
Version : 0.01-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 24.8 KiB
Installed : No
Status : not installed
Source package : perl-Test-Identity-0.01-bp155.2.10.src
Upstream URL : http://search.cpan.org/dist/Test-Identity/
Summary : Assert the Referential Identity of a Reference
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.
It also provides better diagnostics if the test fails:
$ perl -MTest::More=tests,1 -MTest::Identity -e'identical [], {}'
1..1
not ok 1
$ perl -MTest::More=tests,1 -MTest::Identity -e'identical [], []'
1..1
not ok 1