NAME

Sub::Spec::HTTP::Server::Command - Handle 'call' command (call subroutine and return the result)

VERSION

version 0.10

SYNOPSIS

# used by Plack::Middleware::SubSpec::HandleCommand

DESCRIPTION

This module uses Sub::Spec::Caller to call the requested subroutine and format its result. Will return error 500 will be returned if requested output format is unknown/unallowed.

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.