The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::DRI::Protocol::ResultStatus - Encapsulate details of an operation result with standardization on EPP for Net::DRI

DESCRIPTION

An object of this class represents all details of an operation result as given back from the registry, with standardization on EPP as much as possible, for error codes and list of fields available.

METHODS

is_success()

returns 1 if the operation was a success

code()

returns the EPP code corresponding to the native code (registry dependent) for this operation (see RFC for full list and source of this file for local extensions)

native_code()

gives the true status code we got back from registry

message()

gives the message attached to the the status code we got back from registry

lang()

gives the language in which the message above is written

info()

gives back an array with additionnal data from registry, especially in case of errors. If no data, an empty array is returned

as_string(EXTRA)

returns a string with all details (with the info part if EXTRA is defined and true)

print()

same as CORE::print($rs->as_string(0))

same as CORE::print($rs->as_string(1))

trid()

in scalar context, gives the transaction id (our transaction id, that is the client part in EPP) which has generated this result, in array context, gives the transaction id followed by other ids given by registry (example in EPP: server transaction id)

SUPPORT

For now, support questions should be sent to:

<netdri@dotandco.com>

Please also see the SUPPORT file in the distribution.

SEE ALSO

http://www.dotandco.com/services/software/Net-DRI/

AUTHOR

Patrick Mevzek, <netdri@dotandco.com>

COPYRIGHT

Copyright (c) 2005,2006,2008 Patrick Mevzek <netdri@dotandco.com>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See the LICENSE file that comes with this distribution for more details.