I'm really new to this but from what I get from u're question, all u want
to do is to put the value of the reference into another scalar.

This can easily be done as 

$copy_val = $h;

However, if u want the value of the hash to be put into another hash, then

%copy_val = %$h;

If u find something wrong with what i wrote, say so>>

##############################################
#    _-*-v_                        _v-*-_    #
# _v* o--o *v_  George Pereira  _v* 0--0 *v_ #
# -^#_ () _#^- [EMAIL PROTECTED] -^#_ () _#^- #
#     -#-^                          ^-#-     #
##############################################

On Wed, 30 May 2001 [EMAIL PROTECTED] wrote:

> hello,
> 
> I have a question :
> 
> how to copy a hash?
> 
> example: $h is   reference  of a hash struct.
> i want to copy this hash struct.
> 
> how to do that?
> 
> thanks.
> 
> 
> ********************************
> Legend Software Business
> Linux   Zhangxinj
> Tel£º62986638-6555
> E-mail:[EMAIL PROTECTED]
> ********************************
> 
> 


Reply via email to