use FreezeThaw qw(cmpStr);
@a =(1,2,3,4);printf "a and b contain %s arrays\n",cmpStr(\@a, \@b) == 0 ? "the same" : "different";
printf "a and c contain %s arrays\n",cmpStr(\@a, \@c) == 0 ? "the same" : "different";
In reply to Re^2: How do I compare two arrays?
by bimleshsharma
in thread How do I compare two arrays?
by luoina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |