Plack::Util::PeriAHS - Utility routines
This document describes version 0.61 of Plack::Util::PeriAHS (from Perl distribution Perinci-Access-HTTP-Server), released on 2017-07-10.
Render enveloped response $resp (as specified in Rinci::function) as an error page PSGI response, either in HTML/JSON/plaintext (according to $env->{"riap.request"}{fmt}). Will default to JSON if fmt is unsupported.
$env->{"riap.request"}{fmt}
fmt
$env is PSGI environment.
Please visit the project's homepage at https://metacpan.org/release/Perinci-Access-HTTP-Server.
Source repository is at https://github.com/perlancar/perl-Perinci-Access-HTTP-Server.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-Access-HTTP-Server
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2017, 2015, 2014, 2013, 2012, 2011 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Perinci::Access::HTTP::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perinci::Access::HTTP::Server
CPAN shell
perl -MCPAN -e shell install Perinci::Access::HTTP::Server
For more information on module installation, please visit the detailed CPAN module installation guide.