blib/lib/Keystone/Resolver/plugins/ID/http.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: http.pm,v 1.2 2007-01-26 13:53:47 mike Exp $
2  
3 package Keystone::Resolver::plugins::ID::http;
4  
5 use strict;
6 use warnings;
7  
8  
9 sub data {
10 my $class = shift();
11 my($openurl, $http) = @_;
12  
13 # I guess an HTTP ID is just a page that contains useful
14 # information on the referent. The simple thing in this case is
15 # probably also the correct thing: just return the ID itself as a
16 # result.
17  
18 return ("http:$http", "http");
19 }
20  
21  
22 1;