[DGD] Variable issue

Petter Njyström pettricken at yahoo.se
Fri Apr 12 12:56:30 CEST 2002


> You can do
> 
>    map2 = obj1->query_map1()[..];
> 
> to do a surface-level copy. For a deeper copy you'll
> need to recurse through 
> the data structure. Source code for such a routine
> was posted to this list a 
> while back -- check the archives.

Thanks, worked fine with the surface clone, for a
while.  Now it's not working anylonger, since I
changed the associated values to being mixed arrays. 
Does that require a deeper copy?

I tried to find the code for recursive copying in the
archives, but without any success.  Does someone
remember when, or better, the subject of this mail,
that held this precious code snippet?

Thanks again,

Petter

_____________________________________________________
Hitta snörapporter... 
från 500 olika skidorter i Europa
på http://se.snow.yahoo.com
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list