[Xml-compile] $_[0] + 0.0 for sloppy floats

Mark Overmeer mark at overmeer.net
Sun Dec 7 11:57:16 GMT 2014


* hmepas (hmepas at gmail.com) [141207 08:58]:
> Then if we converting to json structure which came out after XML::Compile
> deserialization, floats and decimals will be like "3.14".

I did not know that the JSON module peeks into the SV.  It's a good
reason (I also sometimes convert XML into JSON directly)

The patch is accepted for next release.
-- 
Thanks!

               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list