NAME

Dancer::Plugin::Swig - A plugin for swig client

SYNOPSIS In your Dancer config.yml:

plugins:
    Swig:
        service_url: "http://localhost:21060"

In your Dancer application:

package NewApp;
use Dancer ':syntax';
use Dancer::Plugin::Swig;

our $VERSION = '0.1';

get '/' => sub {
  render 'index.html', { hello_world => 'howdy' };
};

true;

DESCRIPTION

Dancer::Plugin::Swig provides syntax to interact with a Swig as a service application.

LICENSE

Copyright (c) 2014 Logan Bell and Shutterstock Inc (http://shutterstock.com). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.