in reply to Bioperl FASTA parsing

use strict
The ol' missing semicolon trick. Try this:
use strict;
But, then you'll have to declare all variables with my. Are you sure you posted the code you're running?

It wouldn't hurt to run your code through perltidy either.