NAME

Net::SPOCP - Perl implementation of the SPOCP protocol

SYNOPSIS

use Net::SPOCP;

my $client = Net::SPOCP::Protocol->new(server=>'host:port');
my $res = $client->query([a => [ ru => 'le' ],[ another => 'rule']);
print "%s\n",$res->is_error ? "denied (".$res->error.")" : 'authorized';

DESCRIPTION

Implements the protocol described at http://www.spocp.org.

AUTHOR

Leif Johansson <leifj@it.su.se> Klas Lindfors <kllin@it.su.se>

BUGS

Only query is implemented currently

SEE ALSO

perl. http://www.spocp.org