http://qs321.pair.com?node_id=917425


in reply to Re^4: array in hashes
in thread array in hashes

i want (7-7)/(3-2) as output.

Is this what you want?

for (keys(%genome1)) { if ($genome2{$_}) { print "for ".$_." it is (".${$genome1{$_}}[1]."-". ${$genome2{$_}}[1].")/(".${$genome1{$_}}[0]."-".${$genome2{$_}}[ +0].")\n"; } }