http://www.perlmonks.org?node_id=762527


in reply to Re: splitting fasta file into individual fasta files
in thread splitting fasta file into individual fasta files

Beware that, with your code, the first element of the array is a single ">" character, and the rest of elements (but the last) will have the ">" at the end

citromatik