title: How to force a variable to be treated as a String in perl?
body: <p>I have a JSON object which has a key value pair and the value of a one such pair is <em>0E10</em>. </p>
  
  <p>The problem is that this value should be a string but this is being treated as a float because of the presence of letter <em>E</em> after a number, hence it is showing 0 whenever I print this value (0*e+10).</p>
  
  <p>Can somebody please help me solve this problem?   </p>
  
  <p>I am using perl to pass the JSON and reading it through Javascript. (<em>Solution in any language would be acceptable</em>) </p>
  
  <p>This is what I get when I print the JSON. </p>
  
  <p>KEY1 : 0E10</p>
  
  <p>KEY2 : "XYZ"</p>
  
  <p>You can clearly see that, if the value is string it puts under quotes (") but for 0E10 it is not using the quotes ("). </p>
  
  <p><em>The problem in my case is that I am reading the JSON from an API whose control is beyond my reach. I have a backend service which is written in perl which passes the JSON returned by the API. So whenever I hit a URL, the backend service written in perl is called. This service gets the JSON from the API and return back the JSON to the service which is hitting the URL.</em></p>