{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","perl5"],"comment":"Compare two data structures, return -1/0/1 like cmp","compare":null,"dependentCount":null,"description":"This relatively lightweight (no non-core dependencies, under 100 lines of code)\nmodule offers the cmp_data function that, like Perl's cmp, returns -1/0/1 value.\ncmp_data differs from cmp in that it can compare two data of different types and\ncompare data items recursively, with pretty sensible semantics. In addition to\nreturning -1/0/1, cmp_data can also return 2 if two data differ but not\ncomparable: there is no sensible notion of which one is \"greater than\" the\nother. An example is empty hash {} vs empty array []).\n\nThis module can handle circular structure.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/p5-Data-Cmp/","kind":"port","lastUpdate":null,"license":["ART10","GPLv1+"],"maintainer":"sunpoet@FreeBSD.org","name":"p5-Data-Cmp","newest":true,"newestVersion":"0.010","noVulnData":false,"origin":"devel/p5-Data-Cmp","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/p5-Data-Cmp","path":"/devel/p5-Data-Cmp/","system":"FreeBSD","version":"0.010"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Data-Cmp","path":"","system":"HardenedBSD","version":"0.010"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Data-Cmp","path":"","system":"GhostBSD","version":"0.010"}],"packages":null,"pkgName":"p5-Data-Cmp-0.010","related":null,"repository":"DPorts","requiredBy":[],"requiredByCount":0,"runDepends":["lang/perl5.36"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.010","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/dist/Data-Cmp"}
