Welcome to the Monastery | |
PerlMonks |
Re: compare two arrays if both are equal and have same elements irrespective of their positionby LanX (Saint) |
on Jun 16, 2021 at 17:33 UTC ( [id://11133925]=note: print w/replies, xml ) | Need Help?? |
EDIT: I only noticed after reading the code that the question is especially about Array::Compare , so my answer may only be tangential.
do you know Test::More ? especially the function is_deeply ? is_deeply($got_complex_structure, $expected_complex_structure, $test_name); Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|