[Dancer-users] config.yml YAML tabs vs spaces
Alex Mestiashvili
alex at biotec.tu-dresden.de
Thu Nov 10 17:47:30 CET 2011
On 11/10/2011 04:53 PM, Philippe Bruhat (BooK) wrote:
> On Thu, Nov 10, 2011 at 02:39:14PM +0100, Alex Mestiashvili wrote:
>
>> using spaces solved the problem . So I think that it will be not bad
>> to mention somewhere in the documentation that tabs shouldn't be used
>> in config.yml .
>>
>>
> On the other hand, the fact that config.yml is a YAML file implies that
> it must have correct YAML syntax.
>
> See http://www.yaml.org/spec/1.2/spec.html#space/indentation/
>
>
I agree and after all I learned something new, but Dancer positions
itself like "Dead Simple" and imho it won't hurt to have a line stating
that config.yml should use YAML syntax .
Such obvious fact that .yml means man YAML wasn't clear for me .
Best regards ,
Alex
More information about the Dancer-users
mailing list