in reply to Re: (jeffa) 2Re: comparing two arrays
in thread comparing two arrays

This is a problem:
@file = ; # you probably meant @file = <FILE>; # and then you need to chomp @file; # to remove trailing new lines

jeffa