NAME
Net::Server::Framework::Fromat - response formatter Net::Server::Framework based daemons
VERSION
This documentation refers to Net::Server::Framework::Format version 1.1.
SYNOPSIS
A typical invocation looks like this:
my $answer = Net::Server::Framework::Format::format( $c->{data} );
DESCRIPTION
This library is used for formatting responses from daemons to a format understood by the client lib. It is meant for mapping error codes to error messages and formatting out debug output oder output not meant for the customer on the other side of the API.
BASIC METHODS
The commands accepted by the lib are:
format
Formating of responses before returning to the requester.
c2m
A wrapper function around error mapping. This can be replaced with your own error mapping functions.
BUGS AND LIMITATIONS
There are no known bugs in this module. Please report problems to Lenz Gschwendtner ( <lenz@springtimesoft.com> ) Patches are welcome.
AUTHOR
Lenz Gschwendtner ( <lenz@springtimesoft.com> )
LICENCE AND COPYRIGHT
Copyright (c) 2007 Lenz Gschwerndtner ( <lenz@springtimesoft.comn> ) All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.