Get NBCI sequence with AC

Get NBCI sequence with AC
How to get DNA/protein sequenc automatically using Acession number?

there seems to be an approach at this website before. Is it convenient to tell me which module in bioperl can do so?

Thanks a lot