Timothy Appnel > Net-Trackback > Net::Trackback::Server

Download:
Net-Trackback-1.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  1
View Bugs
Report a bug
Source  

NAME ^

Net::Trackback::Server - a super/static class for implementing Trackback server functionality.

METHODS ^

Net::Trackback::Server->receive_ping($CGI)

Currently just an alias for Net::Trackback::Ping->parse.

Net::Trackback::Server->send_success($string)

Sends a success message (code 0) including the necessary Content-Type header and the supplied string parameter as its body.

Net::Trackback::Server->send_error($string)

Sends an error message (code 1) including the necessary Content-Type header and the supplied string parameter as its body.

Errors

This module is a subclass of Class::ErrorHandler and inherits two methods for passing error message back to a caller.

Class->error($message)
$object->error($message)

Sets the error message for either the class Class or the object $object to the message $message. Returns undef.

Class->errstr
$object->errstr

Accesses the last error message set in the class Class or the object $object, respectively, and returns that error message.

TO DO ^

Way of sending an error message with a code other then 1.

AUTHOR & COPYRIGHT ^

Please see the Net::Trackback manpage for author, copyright, and license information.