http://www.perlmonks.org?node_id=997478


in reply to How to resolve YAML Error

The error is simple. I've seen that many time: Code: YAML_PARSE_ERR_NO_FINAL_NEWLINE

Just put an extra newline at the end of your YAML file, like this:

#################################### --- myfile: - you: have to put: a newline character as the last line of this file ####################################

Of course without the #s!

Also, if your YAML file is empty, like moritz mentioned, that is wrong too!!

There are no stupid questions, but there are a lot of inquisitive idiots.