in reply to Matching arrays

Yeah, sorry, I guess I did forget some things. Anyway, I want it so that the items could be in any order, so if I'm checking @array = (1,2,3,4) with @array2 = (2,5,4,6,3,1) it would still match because all of the items in @array are in @array2, no matter what order they are in. Hope this clarifies things a little, and thanks for all your earlier answers...

Just Another Perl Wannabe