Help for this page
my %search_for; $search_for{$_} = 1 for @input_array; ... # do the copying etc. here } }