Plack::Middleware::REST::Util - Utility methods to create RESTful PSGI applications
use Plack::Middleware::REST::Util; $id = request_id($env) # empty string or local resource identifier $uri = request_uri($env) # resource identifier of current request $uri = request_uri($env,$id) # resource identifier of modified request ($content => $type) = request_content($env); # send content and MIME type
To install Plack::Middleware::REST, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::REST
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::REST
For more information on module installation, please visit the detailed CPAN module installation guide.