title: How can I use Perl's XML::LibXML to extract an attribute in a tag?
body: <p>I have an XML file</p>
  
  <pre><code>&lt;PARENT &gt;
  &lt;TAG string1="asdf" string2="asdf" &gt;
  &lt;/TAG &gt;
  &lt;/PARENT&gt;
  </code></pre>
  
  <p>I want to extract the string2 value here.. and also I want to set it to a new value.. </p>
  
  <p>How to do that?</p>