On Thu May 01 04:58:14 2014, SREZIC wrote:
Show quoted text
The attached patch should resolve this bug
--- 01-dump.t.bak 2014-04-03 12:42:25.391852257 -0600
+++ 01-dump.t 2014-04-03 12:45:29.783856901 -0600
@@ -26,7 +26,14 @@
like( $js, qr/"var6":true/ );
like( $js, qr/"var7":null/ );
like( $js, qr/"var8":"00"/ );
-like( $js, qr/"var9":"0.001"/ );
+
+# Starting here, this remains numeric
+if (! defined $^V || $^V lt v5.19.0) {
+ like( $js, qr/"var9":"0.001"/ );
+}
+else {
+ like( $js, qr/"var9":0.001/ );
+}
like( $js, qr/^\{.*\}$/ );
diag("Testing for correct Dumping");