in reply to Get Fasta file with Protein Sequences given a file with Genbank Ids using Perl

Looking at the documentation for Bio::DB::GenBank, it states
DESCRIPTION Allows the dynamic retrieval of the Bio::Seq manpage sequence objects +from the GenBank database at NCBI, via an Entrez query. WARNING: Please do NOT spam the Entrez web server with multiple reques +ts. NCBI offers Batch Entrez for this purpose.
So I don't know if this applies to your situation because you're only downloading 4 sequences. The page for NCBI has some examples of downloads.
  • Comment on Re: Get Fasta file with Protein Sequences given a file with Genbank Ids using Perl
  • Download Code