yanick/Dancer-Template-TemplateDeclare — pull request #1 by clintongormley (2012-07-24 15:26:37+00:00)
Title: Fix up cyclic reference in init()

Hiya

In the init() sub in Dancer::Template::TemplateDeclare, you're creating a cyclic reference, which causes a stack overflow when Dancer tries to render a Dancer::Error, with the environment.

This pull request just copies `$config` as `%config=%{$config}` to remove that cycle

clint