Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 perusing the Monastery: (12)
As of 2015-07-02 18:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls