in reply to Need some help building a data structure.
push @{$hash{globalkey}{key2}{key3}{key4}}, 'ARRAY VALUE'; push @{$hash{globalkey}{key2}{key3}{key4}{key5}}, 'ARRAY VALUE'; #...
The first line wants the 'key4' entry to be an array, but the second line want that entry to be a hash.
Show some real data and tell us what output you expect.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Need some help building a data structure.
by lostjimmy (Chaplain) on May 02, 2009 at 16:05 UTC |