[Dancer-users] config.yml YAML tabs vs spaces

Stefan Hornburg (Racke) racke at linuxia.de
Thu Nov 10 19:11:04 CET 2011

On 11/10/2011 07:04 PM, Assaf Gordon wrote:
> Alex Mestiashvili wrote, On 11/10/11 11:47:
>> 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 .
>> 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 .
> I couldn't agree more.
> The YAML-related Dancer error message is anything but "dead simple" (it is very perlish-wise informative, though).
> It took me a long time to understand what's wrong, way too much time compare to the minor offense of a single tab.

Same goes for missing final newline.


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the Dancer-users mailing list