Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How to resolve YAML Error

by greengaroo (Hermit)
on Oct 05, 2012 at 13:43 UTC ( #997478=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997478]
help
Chatterbox?
[marto]: Sharepoint ss a mess
[marto]: /ss/is/
[Discipulus]: yes I can imagine marto but they dont take my opinion in consideration..

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-06-27 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (601 votes). Check out past polls.