YAML and its parsers

[prev] [thread] [next] [lurker] [Date index for 2006/06/23]

From: Simon Wistow
Subject: YAML and its parsers
Date: 14:35 on 23 Jun 2006
I have an app. It stores some data (in this case CVS commits) as YAML. 

Don't ask.

Then something else consumes the YAML and turns it into RSS.

Again, don't ask.

So YAML.pm (for these are in Perl) creates a YAML file for me. Then, int 
eh RSS generator it reads it back in. And throws an epi claiming it's 
not valid YAML. Some diagnostics indicates that it may be a problem with 
new lines. 

I try upgrading YAML (which imports half of CPAN in a scary way that 
makes me nervous) and it still doesn't work. I try YAML::Syck and that 
only parses out the first record. I try YAML::Tiny but that claims not 
to support 'partial-line comments'.

WT and might I also add F?

-- 
X-Gleitschirmfliegen: macht Spaaaasss!

Generated at 16:01 on 24 Jun 2006 by mariachi 0.52