I see what your problem is... but the advice I'm going to give is going to be more useful in the long run than telling you straight.
# after 'use strict'
use Data::Dumper;
# then in your code, when you want to see the contents of %seqs
warn Dumper(\%seqs);
Put the warn in your first while loop so you can see the hash being built.
Dumper is something you should know about, it's invaluable for debugging stuff like this.
Trentacle
Junior Poster in Training
72 posts since Dec 2010
Reputation Points: 110
Solved Threads: 20