http://www.perlmonks.org?node_id=908539


in reply to Re: search and extract from a large hash
in thread search and extract from a large hash

Or just this:

chomp @data_in; @strSpec_protein_hash{ @data_in } = @goodProteins_hash{ @data_in };