Perl 5.17.3+ changes behaviour of `%ENV` so values are also stringified. This change aims to solve that ( gh #870 ) by replacing %ENV based code with a passed around local hashref, that is passed as the last parameter to `new_for_request()` instead of relying on the data being passed around via `%ENV`.
…5.17 Solves gh #872
When scaffolding an app, don't add a meaningless 'encoding' setting to the example T::T config - it won't do anything, and is misleading. The actual setting is 'ENCODING', and that gets automatically added based on the 'charset' setting. Fixes Issue #768
More for Issue #861
The Plack middlware interface expects an array of arrays, where the first element of each one is the middleware name, and the rest are the arguments to that middleware. The Cookbook suggests a name and array-reference is required. This change adjusts the data structures used appropriately (both in code and in YAML). Tested against Dancer 1.3095 and Plack 0.9988