in reply to Matching values in array

Note: The first array created with passwords from a text file is called @PasswordArray not @PatternArray, sorry about that. Any way I still have the same problem not matching!. Thanks in advance