in reply to Re: Compare array - hash (boo)
in thread Compare array - hash
first you'd get the values of the hash.
@file_contents_array = <FH>; %file_contents = map {$_ => 1} @file_contents_array; # Now you can more easily compare # %file_contents with your existing hash
|
|---|