NAME

Dancer::Plugin::Swig

VERSION

version 0.01

DESCRIPTION

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

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;

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.

AUTHOR

Logan Bell <logie@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Logan Bell.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.