Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Should IO::YAML ignore leading comments?

by dynamo (Chaplain)
on Sep 20, 2007 at 22:35 UTC ( [id://640239]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Should IO::YAML ignore leading comments?
in thread Should IO::YAML ignore leading comments?

I'm not 100% sure I understand your question, but basically, I am wrong about the above example being two docs (the first one empty, aside from the comment) because the current (v1.1) YAML spec says so, and well, being the spec and all, it trumps my opinion.

The second link from my updated comment (figure 2.7), and most especially it's caption "_two_ documents in a stream" says it better than I could if I were to try to rephrase.

If comments could be their own documents, that caption would say "four documents in a stream, two of which are empty but have comments".

Hope that helps, - d

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-03-29 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found