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).
Update ... should have mentioned, a lot of their examples are in perl
In reply to Re: Using Perl to Query PubMed
by derby
in thread Using Perl to Query PubMed
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |