[dancer-users] In-code template configuration - order matters?

Yanick Champoux yanick at babyl.dyndns.org
Thu Aug 27 14:36:32 BST 2015


On 2015-08-27 04:18 AM, Richard Jones wrote:
> Yet it doesn't seem to matter when the order is changed in config.yml
> (at least that's the case with [% %] tags). Why does that behave
> differently?

Because the YAML document is read as a whole, and then the code that
deals with it parses its bits and pieces internally according to the
right order of precedence. Whereas the two statements in perl-space
force the (alas, wrong) order of precedence.


Joy,
`/anick


More information about the dancer-users mailing list