blib/lib/Keystone/Resolver/plugins/ID/mailto.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: mailto.pm,v 1.2 2007-01-26 13:53:47 mike Exp $
2  
3 package Keystone::Resolver::plugins::ID::mailto;
4  
5 use strict;
6 use warnings;
7  
8  
9 sub data {
10 my $class = shift();
11 my($openurl, $address) = @_;
12  
13 # We can't "resolve" a mailto: address -- in fact, it's not clear
14 # what it's useful for, apart from, I suppose, giving you a way of
15 # emailing material to the user. But our inability to resolve
16 # these IDs is not an error: it's fundamental to what kind of
17 # thing they are. So we provide no error message.
18  
19 return (undef, undef, undef, undef);
20 }
21  
22  
23 1;