title: Can't locate XML/LibXML/Element.pm in @INC
body: <p>I have installed <code>XML:LibXML</code> using CPAN but still getting the below error:</p>
  
  <pre><code>Can't locate XML/LibXML/Element.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .)
  </code></pre>
  
  <p>Below is my code:</p>
  
  <pre><code>#!usr/bin/perl
  use XML::LibXML::Element;
  my $pxml = '/cctest/projects.xml';
  my $twigp = XML::LibXML-&gt;new-&gt; parse_file($pxml);
  my $result = $twigp-&gt;getChildrenByTagName('branched_from_id');
  print $result-&gt;to_literal,"\n";
  </code></pre>
  
  <p>projects.xml:</p>
  
  <pre><code>&lt;projects&gt;
      &lt;project&gt;
                      &lt;id&gt;ID_2_19_16_12_15&lt;/id&gt;
                      &lt;name&gt;RPSW &lt;/name&gt;
                      &lt;branch&gt;fb16&lt;/branch&gt;
                      &lt;location&gt;/draw/projects&lt;/location&gt;
                      &lt;author&gt;Ras&lt;/author&gt;
                      &lt;branched_from_id&gt;ID_10_8_13_12_35&lt;/branched_from_id&gt;
                      &lt;branched_from_version&gt;175&lt;/branched_from_version&gt;
              &lt;/project&gt;
  
  &lt;project&gt;
                  &lt;id&gt;ID_1_21_14_1_13_24_PM&lt;/id&gt;
                  &lt;name&gt;Platform&lt;/name&gt;
                  &lt;location&gt;/draw/projects&lt;/location&gt;
                  &lt;author&gt;lav&lt;/author&gt;
                  &lt;assigned_user&gt;ka&lt;/assigned_user&gt;
  &lt;/project&gt;
  
  &lt;/projects&gt;
  </code></pre>
  
  <p>Please help me to identify where am I doing wrong? Requirement is to get only the nodes which are having the element <code>branched_from_id</code>.</p>