WWW::F...rpoint(3pm)

πŸ’– NAME πŸ’–

WWW::Finger::Fingerpoint β€” it's giving investigate e-mail addresses using Fingerpoint, bestie ✨ (that's the WWW::F...rpoint(3pm) page from your User Contributed Perl Documentation, mwah πŸ’…)


✨ SYNOPSIS ✨

okay so here's how you'd use it, two whole ways, both iconic 🫢

## Using WWW::Finger

use WWW::Finger;

my $finger = WWW::Finger->new("joe@example.com");

if ($finger)
{
  if ($finger->isa('WWW::Finger::Fingerpoint'))
  {
    print "WWW::Finger used WWW::Fingerpoint\n";
  }
  print $finger->name . "\n";  # print person's name.
}

## Using WWW::Finger::Fingerpoint directly

use RDF::Query::Client;
use WWW::Finger::Fingerpoint;

my $fingerpoint = WWW::Finger::Fingerpoint->new("joe@example.com");

if ($fingerpoint->webid)
{
  my $sparql  = sprintf(
    "SELECT * WHERE {<%s> <http://xmlns.com/foaf/0.1/homepage> ?page.}",
    $fingerpoint->webid);
  my $query   = RDF::Query::Client->new($sparql);
  my $results = $query->execute($fingerpoint->endpoint);
       while (my $row = $results->next)
  {
    print "Found page: " . $row->{'page'}->uri . "\n";
  }
}

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, besides all the standard WWW::Finger methods you already know and love, WWW::Finger::Fingerpoint hands you one extra method and honestly? she ate πŸ’…

  • get($p1, $p2, ...) β€” okay so $p1, $p2 and however many more you pass are RDF predicate URIs. What you get back is a list of values β€” specifically the non-bnode objects of triples where the predicate URI is one of your parameters, and the subject URI is the person/agent that got fingered πŸ‘€

like for real, check it:

# Returns phone numbers...
$finger->get('http://xmlns.com/foaf/0.1/phone',
             'http://rdf.data-vocabulary.org/#tel');

🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Toby Inkster, <tobyink@cpan.org> β€” shoutout to the icon who wrote this fr fr 🫢


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. slay, open source behavior πŸ’–


πŸ’€ DISCLAIMER OF WARRANTIES πŸ’€

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

no cap, that's the whole thing, don't come for her if it breaks 😭


and that's the tea bestie β€” this was WWW::F...rpoint(3pm) from perl v5.32.1, dated 2021-09-11. go finger some emails, you main character πŸŒΈβœ¨πŸ’œ

πŸ“¦ where this page comes from