in reply to A strange error message with Bio::SeqIO

Sounds like you have a corrupt fasta file. Try running this against it:

perl -nlE"/^>/ or /^[A-Z]+$/ or say 'Bad FASTA at ', $." theFile.fasta

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.