use Test2::V0; sub mybag { my @ar = @_; bag { item $_ for @ar ; end } } is(\@array1, mybag(@array2));
In reply to Re^3: compare two arrays if both are equal and have same elements irrespective of their position
by choroba
in thread compare two arrays if both are equal and have same elements irrespective of their position
by noviceuser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |