Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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

  • Comment on Re^3: Should IO::YAML ignore leading comments?

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 lurking in the Monastery: (4)
As of 2026-04-18 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.