[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] data structures



On Wed, 07 Jun 2000 05:41:24 PDT, Flavio Montiel wrote:

>Is there an easy way to copy the
>whole structure (building a new structure with the same contents but not 
>using the old adresses)?
>
>Maybe there's a module i couldn't find?

The technical name for what you want to do is "deep copy". It has been
mentioned on the Perl newsgroups a few times, so I guess there must be
some modules.

A quick web search revealed not much more than this article by Randal
Schwartz:

	Unix Review Column 30 (Feb 2000)
	[suggested title: Deep copying, not Deep secrets]
	http://www.stonehenge.com/merlyn/UnixReview/col30.html

-- 
	Bart.

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org