Making RESTful Dancing easy with Dancer::Plugin::REST
An useful plugin for writing RESTful Dancer web applications is Dancer::Plugin::Rest by Alexis Sukrieh, available at https://metacpan.org/module/Dancer::Plugin::REST.
To use it when defining routes, easily:
package MyApp;
use Dancer;
use Dancer::Plugin::REST;
This exports the resource keyword, which can be used as such:
resource camel => (