Net::Server::Framework::Fromat - response formatter Net::Server::Framework based daemons
This documentation refers to Net::Server::Framework::Format version 1.1.
A typical invocation looks like this:
my $answer = Net::Server::Framework::Format::format( $c->{data} );
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.
The commands accepted by the lib are:
Formating of responses before returning to the requester.
A wrapper function around error mapping. This can be replaced with your own error mapping functions.
There are no known bugs in this module. Please report problems to Lenz Gschwendtner ( <lenz@springtimesoft.com> ) Patches are welcome.
Lenz Gschwendtner ( <lenz@springtimesoft.com> )
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.
To install Net::Server::Framework, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Server::Framework
CPAN shell
perl -MCPAN -e shell install Net::Server::Framework
For more information on module installation, please visit the detailed CPAN module installation guide.