Re: YAML and its parsers

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

From: Anton Berezin
Subject: Re: YAML and its parsers
Date: 14:53 on 23 Jun 2006
On Fri, Jun 23, 2006 at 02:35:15PM +0100, Simon Wistow wrote:

> 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'.

Either I did not understand you correctly, or your hate is somewhat
misplaced.  It looks like you should hate only YAML.pm, since several
different parsers were unable to parse what it generated, right?

\Anton.
-- 
An undefined problem has an infinite number of solutions.
-- Robert A. Humphrey

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