Plack::Middleware::JSONP - Wraps JSON response in JSONP if callback parameter is specified
enable "JSONP", callback_key => 'jsonp';
This middleware only works with a non-streaming response, and doesn't touch the response otherwise.
To install Plack, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.