in reply to Two questions about hashes
But you maybe able to store your data as:
$a{key1}{key2}{key3}{key4}{"a","b","c","d"} = 1; $a{key1}{key2}{key3}{key4}{"a","b","d","c"} = 1; while (my $mkey = each %{$a{key1}{key2}{key3}{key4}}) { my ($a, $b, $c, $d) = split $;, $mkey; ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Two questions about hashes
by i5513 (Pilgrim) on May 30, 2011 at 22:03 UTC | |
by ig (Vicar) on May 31, 2011 at 09:21 UTC | |
by i5513 (Pilgrim) on Jun 01, 2011 at 09:47 UTC | |
by ig (Vicar) on Jun 02, 2011 at 05:47 UTC | |
by i5513 (Pilgrim) on Jun 02, 2011 at 08:52 UTC | |
|