I have an initial question:
I have @key_table and many @values_tables. I want to create @table links to hashes, so there is one table, each element points to a hash with keys and values ββfrom these two tables presented at the beginning.
Can anyone help me?
For instance:
@keys = (Kate, Peter, John); @value1 = (1, 2, 3); @value2 = (a, b, c);
and I want the two-element table to point to:
%hash1 = (Kate=>1, Peter=>2, John=>3); %hash2 = (Kate=>a, Peter=>b, John=>c);
source share