blib/lib/Keystone/Resolver/plugins/Citation/JVP.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
citation
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 # $Id: JVP.pm,v 1.2 2007-01-26 13:53:47 mike Exp $
2  
3 package Keystone::Resolver::plugins::Citation::JVP;
4  
5 use strict;
6 use warnings;
7  
8  
9 sub citation {
10 my $class = shift();
11 my($openurl) = @_;
12  
13 my($aulast, $auinit, $date, $atitle, $jtitle, $volume, $spage, $epage)
14 = map { $openurl->rft($_) || "[UNKNOWN-$_]" }
15 qw(aulast auinit date atitle jtitle volume spage epage);
16  
17 $auinit =~ s/\.$//;
18 return "$aulast, $auinit. $date. $atitle. $jtitle $volume:$spage-$epage";
19 }
20  
21  
22 1;