You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are all valid YAML things, but YAML::Tiny loads them as scalars. Instead
it should throw an error, since they are things that YAML::Tiny doesn't support
by design.
The text was updated successfully, but these errors were encountered:
I have a more complete list. These should all be invalid:
!foo: bar
&foo: bar
*foo: bar
,foo: bar
[foo: bar
]foo: bar
{foo: bar
}foo: bar
|foo: bar
>foo: bar
? foo: bar
@foo: bar
`foo: bar
The problem is, if people are using these things in YAML and read it with YAML::Tiny, it will load it, and then it will be incompatible with other modules in perl and other languages.
So I agree with @ingydotnet : while I see that YAML::Tiny just implements a subset, it should at least die in these cases.
This YAML:
Loads as:
These are all valid YAML things, but YAML::Tiny loads them as scalars. Instead
it should throw an error, since they are things that YAML::Tiny doesn't support
by design.
The text was updated successfully, but these errors were encountered: