Array-Compare reviews

cpanratings
 

RSS | Module Info | Add a review of Array-Compare

Array-Compare (2.02) **

Pros: has a perm() function to check whether the two arrays contain the same things but in different order (although you can simply just run sort() over the arrays first). Allow skipping some elements from comparison.

Cons: no cmp-like functionality (returning -1, 0, 1), slow (for equality test, you might as well compare the json_encode() result of the arrays, which is way faster), no nested comparison. No procedural interface.

See also: Data::Compare, JSON/YAML/Storable.