- or download this
my %file_genes = %$file_gene_ref;
...
...
...
$intersection{$_} = $hash1{$_} if exists $hash2{$_};
...
- or download this
$intersection{$_} = $file_gene_ref->{$m1}{$_}
if exists $file_gene_ref->{$m2}{$_};
- or download this
%hash1 = %{$file_gene_ref->{$m1}};
%hash2 = %{$file_gene_ref->{$m2}};