title: Proccessing Large file with XML::Twig
body: <p>I am proccessing a Large file about 1GB with <strong>XML::Twig</strong> using Twig_handlers where the XML file is devided to Entries ,where every Entry tag contain all its sub tags. </p>
  
  <p>I want to develop some mechanism to check if every Entry is already proccessed on the past by saving its MD5 digest and then when try to run the code again to check if this entry is proccessed on the past and have the same digest to skip it ,currently i do this mechanism inside the Entry which not help a lot as the Twig entry is proccessed before I check the digest ,could some one suggest if  its possible to check the digest of every entry before building the Twig ?</p>
  
  <p>here synopsis of my code :</p>
  
  <pre><code> XML::Twig-&gt;new(
          twig_handlers =&gt; {
              'Entry' =&gt; sub {
               if(not exists_digest($_-&gt;outer_xml)){
                   #do somthing}
  
          }, 
  
      }   
      )-&gt;parsefile('myfile.xml');
  </code></pre>