# from Ovid
# on Saturday 01 September 2007 11:22 am:

>Except that we cribbed much of our YAML code from YAML tiny and it
> gets this wrong, too:
>
>  $ perl -MYAML::Tiny=Dump -le 'print Dump([3,"3"])'
>  ---
>  - 3
>  - 3

I'm not sure the YAML spec distinguishes between string and number when 
the string is a number.

  $ perl -e 'use YAML; warn YAML::Dump([3,"3"]);'
  ---
  - 3
  - 3
  $ perl -e 'use YAML::Syck; warn YAML::Syck::Dump([3,"3"]);'
  ---
  - 3
  - 3

--Eric
-- 
"But as to modern architecture, let us drop it and let us take
modernistic out and shoot it at sunrise."
--F.L. Wright
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------

Reply via email to