I know that each element in the list is going to be a pointer to the one before it. I just save off a reference to where the next insertion should take place. Each time through I create a anonymous hash, insert it into the current hash (the key is the array element, the value is the anonymous hash) and store out a reference to the new hash for the next time through the loop.
Hope that's clear. I'm much better at writing the code than explaining it in english.
-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere." | [reply] |