NAME Net::RRP::Lite - simple interface of RRP. SYNOPSIS use Net::RRP::Lite; use IO::Socket::SSL; my $sock = IO::Socket::SSL->new( PeerHost => '....', PeerPort => '....', #.... ); my $rrp = Net::RRP::Lite->new($sock); $rrp->login('registrer', 'xxxx'); my $res = $rrp->check(Domain => { DomainName => 'example.com', }); $rrp->disconnect; DESCRIPTION Net::RRP::Lite provides a simple interface of Registry Registrar Protocol. RRP has four elements, Command, Entity, Attributes and Options. Net::RRP::Lite generates method dynamically, and method structure is below. $rrp->*command_name*(*Entity* => { Attributes and Options }); EXAMPLES C represents data sent by client, S represents data received from server. C:add C:EntityName:Domain C:DomainName:example.com C:-Period:10 C:. S:200 Command completed successfully S:registration expiration date:2009-09-22 10:27:00.0 S:status:ACTIVE S:. my $rrp = Net::RRP::Lite->new($sock); my $res = $rrp->add(Domain => { DomainName => 'example.com', -Period => 10}); print $res->code; # 200 print $res->message; # Command completed successfully print $res->param('registration expiration date') print $res->param('status'); METHODS new($sock) constructor of Net::RRP::Lite object. $sock is a IO::Socket::SSL object. connect(%options) connect RRP Server and construct new Net::RRP::Lite object. %options are passed to IO::Socket::SSL. $rrp->login($id, $password) shortcut for $rrp->session(undef, { -Id => $id, -Password => $password}); $rrp->disconnect; send quit command and close socket. AUTHOR IKEBE Tomohiro This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO Net::RRP RFC2832