Re: Copying a named hash to an anonymous hash

2009-06-13 Thread Chap Harrison
On Jun 13, 2009, at 1:54 AM, Chas. Owens wrote: If you need to make a deep copy a data structure you should use the dclone function from the Storable[1] module: use Storable qw/dclone/; Thanks! I did find something Randal Schwartz had posted somewhere that did the trick for me - sub de

Re: Copying a named hash to an anonymous hash

2009-06-12 Thread Chas. Owens
On Fri, Jun 12, 2009 at 22:22, Chap Harrison wrote: > I've created a complex, nested  data structure that is, at its outermost > level, a hash:  %qa.  It collects QA statistics for a school. > > Now I want to be able to process multiple schools in one run, so I've > created another hash, %sch_qa, w

Copying a named hash to an anonymous hash

2009-06-12 Thread Chap Harrison
I've created a complex, nested data structure that is, at its outermost level, a hash: %qa. It collects QA statistics for a school. Now I want to be able to process multiple schools in one run, so I've created another hash, %sch_qa, whose key is School Name and whose value is a ref to *a