Port details
p5-Data-Cmp Compare two data structures, return -1/0/1 like cmp
0.010 devel Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.010Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-09-05 06:21:12
Last Update: 2024-09-05 06:11:14
Commit Hash: 43c69bb
Also Listed In: perl5
License: ART10 GPLv1+
WWW:
https://metacpan.org/dist/Data-Cmp
Description: #
This relatively lightweight (no non-core dependencies, under 100 lines of code) module offers the cmp_data function that, like Perl's cmp, returns -1/0/1 value. cmp_data differs from cmp in that it can compare two data of different types and compare data items recursively, with pretty sensible semantics. In addition to returning -1/0/1, cmp_data can also return 2 if two data differ but not comparable: there is no sensible notion of which one is "greater than" the other. An example is empty hash {} vs empty array []). This module can handle circular structure.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (14 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-Data-Cmp-0.010/catalog.mk
  2. /usr/local/share/licenses/p5-Data-Cmp-0.010/LICENSE
  3. /usr/local/share/licenses/p5-Data-Cmp-0.010/ART10
  4. /usr/local/share/licenses/p5-Data-Cmp-0.010/GPLv1+
  5. share/sbom/pc/p5-Data-Cmp.pc
  6. lib/perl5/site_perl/Data/Cmp.pm
  7. lib/perl5/site_perl/Data/Cmp/Numeric.pm
  8. lib/perl5/site_perl/Data/Cmp/StrOrNumeric.pm
  9. lib/perl5/site_perl/man/man3/Data::Cmp.3.gz
  10. lib/perl5/site_perl/man/man3/Data::Cmp::Numeric.3.gz
  11. lib/perl5/site_perl/man/man3/Data::Cmp::StrOrNumeric.3.gz
  12. @owner
  13. @group
  14. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • p5-Data-Cmp>0:devel/p5-Data-Cmp
To install the port: #
cd /usr/ports/devel/p5-Data-Cmp/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/p5-Data-Cmp
  • pkg install p5-Data-Cmp
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-Data-Cmp
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1724084444 SHA256 (Data-Cmp-0.010.tar.gz) = 96cc24b12e90c7f1a583870f13daee244ebcc765a0d8abbb5e49b6b977b45210 SIZE (Data-Cmp-0.010.tar.gz) = 18145

Packages (timestamps in pop-ups are UTC): #
p5-Data-Cmp
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0100.010-0.0100.010
FreeBSD:14:quarterly0.0100.010-0.0100.010
FreeBSD:15:latest0.0100.010n/a0.010n/a
FreeBSD:15:quarterly0.0100.010n/a-n/a
FreeBSD:16:latest CURRENT0.0100.010n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. perl5>=5.42.r<5.43 : lang/perl5.42
Runtime dependencies: #
  1. perl5>=5.42.r<5.43 : lang/perl5.42
This port is required by: #
for Build #
  1. devel/p5-Data-Sah
for Run #
  1. devel/p5-Data-Sah

Configuration Options: #
No options to configure
Options name: #
devel_p5-Data-Cmp
USES: #
perl5
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (11 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Data/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Data/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Data/
  5. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Data/
  6. http://backpan.perl.org/modules/by-module/Data/
  7. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Data/
  8. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Data/
  9. https://cpan.metacpan.org/modules/by-module/
  10. https://cpan.metacpan.org/modules/by-module/Data/
  11. https://www.cpan.org/modules/by-module/Data/
Collapse this list.

Number of commits found: 1 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.010
05 Sep 2024 06:11:14
commit hash: 43c69bb16b1141e3b2e6b82a272690e99a7f8134commit hash: 43c69bb16b1141e3b2e6b82a272690e99a7f8134commit hash: 43c69bb16b1141e3b2e6b82a272690e99a7f8134commit hash: 43c69bb16b1141e3b2e6b82a272690e99a7f8134 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/p5-Data-Cmp: Add p5-Data-Cmp 0.010

This relatively lightweight (no non-core dependencies, under 100 lines of code)
module offers the cmp_data function that, like Perl's cmp, returns -1/0/1 value.
cmp_data differs from cmp in that it can compare two data of different types and
compare data items recursively, with pretty sensible semantics. In addition to
returning -1/0/1, cmp_data can also return 2 if two data differ but not
comparable: there is no sensible notion of which one is "greater than" the
other. An example is empty hash {} vs empty array []).

This module can handle circular structure.

Number of commits found: 1