++$count{$1} while $genome =~ /\G(..)/g; [download]
In reply to Re: Re: using s/// as map? by Roy Johnson in thread how can I speed up this perl?? by Anonymous Monk