in reply to Re^2: reading a JSON object
in thread reading a JSON object
$ perl -wE 'say "timestamp" - 2' Argument "timestamp" isn't numeric in subtraction (-) at -e line 1. -2
I don't see how the string can be meaningfully converted to a number. Please, show the code that demonstrates the problem. Are you using the string directly instead of using it as a hash key?
|
|---|