WWW::Search::PubMedLite - Access PubMed's database of journal articles
use WWW::Search; my $search = new WWW::Search('PubMedLite'); $search->native_query( 126941 ); my $article = $search->next_result; my @fields = qw( pmid journal journal_abbreviation volulme issue title page year month affiliation abstract language doi text_url pmc_id ); foreach my $field ( @fields ) { printf "%s: %s\n", $field, $article->{$field}; }
David J. Iberri, <diberri at cpan.org>
<diberri at cpan.org>
As of November 2008, the NCBI/PubMed servers have been a bit unpredictable in returning results to queries issued by W::S::PubMedLite. The only queries that appear to be failing are those that request the PubMed Central ID; for example:
L<http://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=pubmed&id=16402093&db=pmc>
The error returned by NCBI is "error 803/temporarily unavailable", which prevents WWW::Search::PubMedLite from filling the pmc_id field in results.
pmc_id
This impacts make test; specifically, if this error is encountered, the "pmc_id" test will be skipped and a brief explanation will be given. It should be safe to continue with the installation provided that the other tests are working. Again, it appears that this problem is confined to the pmc_id field.
make test
Please report any bugs or feature requests to bug-www-search-pubmedlite at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Search-PubMedLite. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-www-search-pubmedlite at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc WWW::Search::PubMedLite
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WWW-Search-PubMedLite
CPAN Ratings
http://cpanratings.perl.org/d/WWW-Search-PubMedLite
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Search-PubMedLite
Search CPAN
http://search.cpan.org/dist/WWW-Search-PubMedLite
Copyright 2007 David J. Iberri, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::Search::PubMedLite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Search::PubMedLite
CPAN shell
perl -MCPAN -e shell install WWW::Search::PubMedLite
For more information on module installation, please visit the detailed CPAN module installation guide.