title: How to use get_value to get objectName?
body: <p>This code</p>
  
  <pre><code>my @bl = ();
  foreach my $entry ($m-&gt;entries) {
    push @bl, "$entry-&gt;get_value('objectName', asref =&gt; 0)";
  }
  
  print Dumper @bl;
  </code></pre>
  
  <p>outputs</p>
  
  <pre><code>$VAR1 = 'Net::LDAP::Entry=HASH(0x5c70920)-&gt;get_value(\'objectName\', asref =&gt; 0)';
  $VAR1 = 'Net::LDAP::Entry=HASH(0x5c706c0)-&gt;get_value(\'objectName\', asref =&gt; 0)';
  $VAR1 = 'Net::LDAP::Entry=HASH(0x5c70660)-&gt;get_value(\'objectName\', asref =&gt; 0)';
  </code></pre>
  
  <p>which I don't understand why it does.</p>
  
  <p>If I change <code>objectName</code> to <code>sAMAccountName</code>, it gives something meaningful.</p>
  
  <p>If I dump <code>$m-&gt;entries</code> I see</p>
  
  <pre><code>$VAR1 = bless( {
                   'changes' =&gt; [],
                   'changetype' =&gt; 'modify',
                   'asn' =&gt; {
                              'objectName' =&gt; 'CN=sandra,OU=list,DC=example,DC=com',
                              'attributes' =&gt; []
                            }
                 }, 'Net::LDAP::Entry' );
  </code></pre>
  
  <p>How do I get the <code>objectName</code> using <code>get_value()</code>?</p>
  
  <p><strong>Update</strong>: First comment solved the problem.</p>