Z
zm
Hi, I am using yaml to pass data between ruby and perl.
Given the data of h={"a"=>[1,2]}, perl's YAML gives the result of
a:
- 1
- 2
while ruby gives the result of, by YAML.dump(h)
a:
- 1
- 2
Note there is no space after "a:", while perl's have space
Therefore, the data provided by ruby could not be used by perl.
Is this considerd valid YAML?
Thanks!
Given the data of h={"a"=>[1,2]}, perl's YAML gives the result of
a:
- 1
- 2
while ruby gives the result of, by YAML.dump(h)
a:
- 1
- 2
Note there is no space after "a:", while perl's have space
Therefore, the data provided by ruby could not be used by perl.
Is this considerd valid YAML?
Thanks!