Note that just copying the hash doesn't work for data structure you have used. Values of hash are hashrefs themselves so new copy will reuse parts of copied data structure. Thus changes in copy of data structure affect original data structure.
--
Ilya Martynov
(http://martynov.org/)
In reply to Re: Re: Re: Re: Re: OO - problem with inheritance
by IlyaM
in thread OO - problem with inheritance
by uwevoelker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |