Get useful data from e-mail addresses
use WWW::Finger; my $finger = WWW::Finger->new("[email protected]"); if (defined $finger) { print $finger->name . "\n"; }
This module is not an implementation of the finger protocol (\s-1RFC\s0 1288). Use Net::Finger for that. Instead it is a set of implementations of other methods for getting information from an e-mail address, or e-mail like identifier. This package includes four such implementations, and it's pretty easy to create your own additional implementations:
WebFinger
Fingerpoint
MetaCPAN \s-1API\s0 for cpan.org addresses
Unnamed finger protocol described on bitworking.org
\*(C`new\*(C' $finger = WWW::Finger->new($identifier); Creates a WWW::Finger object for a particular identifier. Will return undef if no implemetation is able to handle the identifier
Any of these methods can return undef if the appropriate information is not available. The \*(C`name\*(C', \*(C`mbox\*(C', \*(C`homepage\*(C', \*(C`weblog\*(C', \*(C`image\*(C' and \*(C`key\*(C' methods work in both scalar and list context. Depending on which implementation was used by \*(C`WWW::Finger->new\*(C', the object may also have additional methods. Consult the documentation of the various implementations for details. The person's name (or handle/nickname). The person's e-mail address (including \*(L"mailto:\*(R"). The person's personal homepage. The person's blog. (There may be some overlap with \*(C`homepage\*(C'.) An avatar, photo or other image depicting the person. The \s-1URL\s0 of the person's \s-1GPG/PGP\s0 public key. A \s-1URI\s0 uniquely identifying the person. See <http://esw.w3.org/topic/WebID>. A \s-1SPARQL\s0 Protocol endpoint which may provide additional data about the person. (See RDF::Query::Client.) An RDF::Trine::Model object holding data about the person. (See RDF::Trine.)
Net::Finger.
<http://code.google.com/p/webfinger/>.
<http://buzzword.org.uk/2009/fingerpoint/spec>.
<http://www.perlrdf.org/>.
fingerw.
Toby Inkster, <[email protected]>
Copyright (C) 2009-2012 by Toby Inkster
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
\s-1THIS\s0 \s-1PACKAGE\s0 \s-1IS\s0 \s-1PROVIDED\s0 \*(L"\s-1AS\s0 \s-1IS\s0\*(R" \s-1AND\s0 \s-1WITHOUT\s0 \s-1ANY\s0 \s-1EXPRESS\s0 \s-1OR\s0 \s-1IMPLIED\s0 \s-1WARRANTIES\s0, \s-1INCLUDING\s0, \s-1WITHOUT\s0 \s-1LIMITATION\s0, \s-1THE\s0 \s-1IMPLIED\s0 \s-1WARRANTIES\s0 \s-1OF\s0 \s-1MERCHANTIBILITY\s0 \s-1AND\s0 \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0.