Leif Johansson > Net-SPOCP-0.14 > Net::SPOCP

Download:
Net-SPOCP-0.14.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.14   Source  

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

syntax highlighting: