in reply to Inscrutable YAML parsing error

Quotes are significant to YAML and the item in the sequence for author is throwing it off. I get an error from Syck as well. Surround the whole value with single quotes, or use a block scalar indicator.

--- #YAML:1.0 name: Regexp-NamedCaptures version: 0.03 author: - |- "Joshua ben Jore" <jjore@cpan.org> abstract: Saves capture results to your own variables license: perl generated_by: Module::Build version 0.2611, without YAML.pm

Update: Reworded to (hopefully) clarify exactly what I meant by surround with quotes.

Replies are listed 'Best First'.
Re^2: Inscrutable YAML parsing error
by diotalevi (Canon) on Jun 21, 2006 at 16:35 UTC

    Ok, thanks. I surrounding it with single quotes and that caused it to work.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊