>>>>> "zhangxinj" == zhangxinj <[EMAIL PROTECTED]> writes:
zhangxinj> hello,
zhangxinj> I have a question :
zhangxinj> how to copy a hash?
zhangxinj> example: $h is reference of a hash struct.
zhangxinj> i want to copy this hash struct.
zhangxinj> how to do that?
zhangxinj> thanks.
Shallow copy, or deep copy?
If those aren't familiar terms, look at
http://www.stonehenge.com/merlyn/UnixReview/col30.html
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!