in reply to Using Perl to Query PubMed
The folks at NCBI (part of NIH) have a web api called entrez that you can use to search then fetch pubmed articles (among numerous other NIH databases).
-derby
Update ... should have mentioned, a lot of their examples are in perl
In Section
Seekers of Perl Wisdom