Konfidi::Response - a Konfidi TrustServer response
A hash of values as the response from querying the Konfidi TrustServer. The 'Rating' value is used when a Response is used in a numerical context.
Version 1.0.4
use Konfidi::Client; use Konfidi::Response; use Error(:try); my $k = Konfidi::Client->new(); $k->server('http://test-server.konfidi.org'); try { my $response = $k->query($truster_40char_pgp_fingerprint, $trusted_40char_pgp_fingerprint, 'http://www.konfidi.org/ns/topics/0.0#internet-communication'); } catch Konfidi::Client::Error with { my $E = shift; die "Couldn't query the trustserver: $E"; }; if ($response > 0.5) { ... } $response->{'Subject'}; $response->{'Error'}; ...
new()
Konfidi::Client, Konfidi::Client::Error
To install Konfidi::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Konfidi::Client
CPAN shell
perl -MCPAN -e shell install Konfidi::Client
For more information on module installation, please visit the detailed CPAN module installation guide.