10 Nov
2014
10 Nov
'14
11:46 a.m.
Hi Sawyer, On 08-11-14 12:15, Sawyer X wrote:
Submit the PR and let's check it out.
Thanks for the useful feedback! I submitted a PR at https://github.com/PerlDancer/Dancer2/pull/760 There's one thing I encountered and I'm not sure whether I did this right. In the code there was: setting('charset'), which triggered an error (undefined function). So I changed it to $self->config->{'charset'} however $self->config appears to be an empty hashref. I expected it to contain the app config (with at least a key 'charset' as that is in the config.yml). Is this assumption correct? If not, what is the best way to get access to the app config / charset setting? Best regards, Lennart