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

[MacPerl] data structures





Hi all,

maybe someone can help me out....

i have a data structure like e.g.

$a = {
      "key1"  =>  {
                   "k1" => "string",
                   "k2" => [0,1,2]
                   },
      "key2"  =>   [
                    {"a" => "b"},
      [0,1,2]
                   ]
      }

or similar ones.

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?

Regards,
flavio
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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