On Sat May 04 07:11:36 2013, pilitsyn@gmail.com wrote:
Show quoted text> Hello!
>
> Error reading the file where the key name is used first character "-"
>
>
> example:
> ---
> one:
> two:
> -three: hello
>
>
> Gentoo Linux, Perl v5.12.4 , YAML-Tiny-1.51
>
>
Thanks for the report. I believe it would be more precise to say that you do not get results you expect or desire rather than that you get an error. When I ran the code, I did not get an error. (See attachment.)
##########
$ perl 85045-key-start-with-hyphen.pl
$VAR1 = undef;
$VAR1 = bless( [
{
'one' => {
'two' => {
'three' => 'hello'
}
}
}
], 'YAML::Tiny' );
##########