in reply to While loop printing only one fasta header file

It appears that you have your loops backwards (and are missing file CLOSE statements).

I think your intent will be fulfiled if you move the "for @headers" loop to inside the "While FH".

     Have you been high today? I see the nuns are gay! My brother yelled to me...I love you inside Ed - Benny Lava, by Buffalax

  • Comment on Re: While loop printing only one fasta header file