I have a hash reference and if we print the reference variable we will get an address. I want to access the hash using that address.<br><br>For ex. if $hash is a hash reference. If we print $hash we will get something like HASH(0x91498b8). I want to access the hash using the address HASH(0x91498b8).<br>
<br><div class="gmail_quote">2010/8/25 Varghese Chacko <span dir="ltr">&lt;<a href="mailto:vctheguru@gmail.com">vctheguru@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



  
  

<div bgcolor="#ffffff" text="#000000">
How do you get the memory address without any type info like Array/Hash
or Scalar? Are you trying to access ports? <br>
<br>
--VC<br>
<br>
Bharathiraja P wrote:
<blockquote type="cite"><div><div></div><div class="h5">Hi,<br>
  <br>
          Can you tell how can I map memory location to a variable. For
ex. I have a memory address for a hash reference say 0x23413. Is it
possible to access the hash using the memory address?<br>
  <br>
--<br>
Bharathiraja<br>
  </div></div><pre><hr width="90%" size="4">
_______________________________________________
Kochi-pm mailing list
<a href="mailto:Kochi-pm@pm.org" target="_blank">Kochi-pm@pm.org</a>
<a href="http://mail.pm.org/mailman/listinfo/kochi-pm" target="_blank">http://mail.pm.org/mailman/listinfo/kochi-pm</a>
  </pre>
</blockquote>
<br>
<br>
<pre cols="72">-- 
Regards
Varghese Chacko


=========================================================
Unless you can create the WHOLE universe in 5 days, then
perhaps giving &quot;advice&quot; to God, isn&#39;t such a good idea.
</pre>
</div>

<br>_______________________________________________<br>
Kochi-pm mailing list<br>
<a href="mailto:Kochi-pm@pm.org">Kochi-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/kochi-pm" target="_blank">http://mail.pm.org/mailman/listinfo/kochi-pm</a><br>
<br></blockquote></div><br>