Open
Description
dmaestro$ perl6 -MYAML -e 'dd yaml.load("test.yml".IO.slurp)'
${:one(1), :three(Any), :two("one two")}
dmaestro$ perl -MYAML::XS -MData::Dumper -E 'undef $/; open my $yaml, "<", "test.yml"; my $hash = Load(<$yaml>); print Dumper($hash)'
$VAR1 = {
'three' => 'one two three',
'one' => 1,
'two' => 'one two'
};
dmaestro$ cat test.yml
---
one: 1
two: one two
three: "one two three"
The double-quoted string is parsed, but gives an undefined value.
Metadata
Metadata
Assignees
Labels
No labels