blib/lib/Keystone/Resolver/plugins/ID/info/pmid.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
data
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # $Id: pmid.pm,v 1.2 2007-01-26 13:53:48 mike Exp $
2  
3 package Keystone::Resolver::plugins::ID::info::pmid;
4  
5 use strict;
6 use warnings;
7  
8  
9 sub data {
10 my $class = shift();
11 my($openurl, $pmid) = @_;
12  
13 # There's a PubMed search interface at
14 # http://www.ncbi.nlm.nih.gov/entrez/query.fcgi
15 # but it would be a pain to write a scaper, plus invoking one
16 # would radically slow down the resolver. So let's not.
17  
18 return (undef, undef, undef, "Resolution of PubMed IDs is unsupported", 1);
19 }
20  
21  
22 1;
23