Looks like that only works if you are guaranteed that no items appear in the same list more than once. It would not work properly for this:
@a = ( 1, 2, 3, 4, 2 );
@b = ( 1, 3, 5 );
In reply to Re: Re: See if arrays match
by ehdonhon
in thread See if arrays match
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |