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.


Comment on Re: How to resolve YAML Error
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997478]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2014-12-21 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls