« blib/lib/Keystone/Resolver/plugins/ID/info/pmid.pm
↑ Summary
blib/lib/Keystone/Resolver/plugins/Service/Elsevier.pm »
| 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; |