title: Perl Parsing with XML::Simple and Adding Escape Characters
body: <p>I need to escape certain character values from the data returned in an xml parsing I am doing. The problem is I need to have some sort of check for ALL values in the xml parsing. For example, if I have the following:</p>
  
  <pre><code>&lt;data&gt;this is sample data"&lt;/data&gt;
  </code></pre>
  
  <p>I need to be able to add an escape character in front of the double quote character value so that if the value is stored to $x, and I print $x, it will show:</p>
  
  <pre><code>this is sample data\"
  </code></pre>
  
  <p>Thanks.</p>