in reply to Re^2: Get Fasta file with Protein Sequences given a file with Genbank Ids using Perl
in thread Get Fasta file with Protein Sequences given a file with Genbank Ids using Perl

Change this:
my $gb=Bio::DB::GenBank;
to this:
my $gb = new Bio::DB::GenBank;
and see if that gets things working for you.