The structure is a hash of hashes. Thanks to: nkuipers <[EMAIL PROTECTED]> Robin Cragg <[EMAIL PROTECTED]> Timothy Johnson <[EMAIL PROTECTED]>
who correctly pointed this also to me. They also provided some information on how to add items to the array, and an easier way to populate the hash. I was using an anonymous hash method. Thanks Again Original Post: A strange question. I'm using the following data structure to store information from a data base query: $tablename{"$table"} = { "table_name" => ["$table"], "index_name" => ["$index_name"], "columns" => ["@column_name"], "type" => ["$index_type"], "tablespace" => ["$tablespace_name"] This works great and I can later extract the info from this structure. I have 2 questions. What type of structure is this and how do I add to it? When I try to add more info from a subsequent query like this: $tablename{$table} = { "con_name" => ["$constraint_name"], "con_type" => ["$type"], "rem_con_name" => ["$r_constraint_name"], "created_by" => ["$generated"] }; I lose all the previous information, so that only the above is now stored. What have I done, how do I do what I want, and am I in over my head? -- Ken Hammer University Of Michigan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]