perl-Data-Compare - Compare perl data structures

Property Value
Distribution openSUSE Leap 42.2
Repository openSUSE Oss all
Package name perl-Data-Compare
Package version 1.23
Package release 4.2
Package architecture noarch
Package type rpm
Installed size 57.26 KB
Download size 32.46 KB
Official Mirror
Compare two perl data structures recursively. Returns 0 if the structures
differ, else returns 1.
A few data types are treated as special cases:
* Scalar::Properties objects
This has been moved into a plugin, although functionality remains the
same as with the previous version. Full documentation is in the
Data::Compare::Plugins::Scalar::Properties manpage.
* Compiled regular expressions, eg qr/foo/
These are stringified before comparison, so the following will match:
$r = qr/abc/i;
$s = qr/abc/i;
Compare($r, $s);
and the following won't, despite them matching *exactly* the same text:
$r = qr/abc/i;
$s = qr/[aA][bB][cC]/;
Compare($r, $s);
Sorry, that's the best we can do.
* CODE and GLOB references
These are assumed not to match unless the references are identical - ie,
both are references to the same thing.
You may also customise how we compare structures by supplying options in a
hashref as a third parameter to the 'Compare()' function. This is not yet
available through the OO-ish interface. These options will be in force for
the *whole* of your comparison, so will apply to structures that are
lurking deep down in your data as well as at the top level, so beware!
* ignore_hash_keys
an arrayref of strings. When comparing two hashes, any keys mentioned in
this list will be ignored.


Package Version Architecture Repository
perl-Data-Compare - - -


Name Value
perl(:MODULE_COMPAT_5.18.2) -
perl(File::Find::Rule) >= 0.1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1


Name Value
perl(Data::Compare) = 1.23
perl(Data::Compare::Plugins::Scalar::Properties) = 1.0
perl-Data-Compare = 1.23-4.2


Type URL
Binary Package perl-Data-Compare-1.23-4.2.noarch.rpm
Source Package perl-Data-Compare-1.23-4.2.src.rpm

Install Howto

Install perl-Data-Compare rpm package:

# zypper install perl-Data-Compare

See Also

Package Description
perl-Data-Dump-1.22-6.2.noarch.rpm Pretty printing of data structures
perl-Data-Dump-Streamer-2.39-1.1.x86_64.rpm Accurately serialize a data structure as Perl code
perl-Data-Dumper-Concise-2.022-6.1.noarch.rpm Less indentation and newlines plus sub deparsing
perl-Data-Entropy-0.007-1.1.noarch.rpm Entropy (randomness) management
perl-Data-Float-0.012-1.1.noarch.rpm Details of the floating point data type
perl-Data-Hexify-1.00-18.1.noarch.rpm Perl extension for hexdumping arbitrary data
perl-Data-Hierarchy-0.34-134.1.noarch.rpm Handle data in a hierarchical structure
perl-Data-Integer-0.005-1.1.noarch.rpm Details of the Native Integer Data Type
perl-Data-OptList-0.109-6.1.noarch.rpm parse and validate simple name/value option pairs
perl-Data-Page-2.02-2.1.noarch.rpm Help when paging through sets of results
perl-Data-Peek-0.44-9.2.x86_64.rpm A collection of low-level debug facilities
perl-Data-Perl-0.002009-2.1.noarch.rpm Base classes wrapping fundamental Perl data types
perl-Data-Printer-0.38-1.1.noarch.rpm Colored Pretty-Print of Perl Data Structures and Objects
perl-Data-Section-0.200006-4.1.noarch.rpm read multiple hunks of data out of your DATA section
perl-Data-Section-Simple-0.07-3.1.noarch.rpm Read data from __DATA__