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 [download]