in reply to 3D array of hashes
Or like this:$weather_archive{'2003'}{'Spring'}{'Apr'}{'15'}{'High'} = '70f'; $weather_archive{'2003'}{'Spring'}{'Apr'}{'15'}{'Low'} = '43f';
With that info to mull over in your mind, I wouldn't take it much further without consulting perlref and perlreftut. The latter is really a great place to start planting seeds of understanding of complex data structures.%weather_archive = ( 2003 => { Spring => { April => { 15 => { High => '70f', Low => '43f', Wind => 'NW15kt', Bar => '29.85+' } } }, 2004 => ......, );
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: 3D array of hashes
by ManyCrows (Novice) on Oct 08, 2003 at 21:17 UTC | |
by davido (Cardinal) on Oct 08, 2003 at 21:31 UTC | |
by ManyCrows (Novice) on Oct 08, 2003 at 21:50 UTC | |
by Rhys (Pilgrim) on Oct 08, 2003 at 22:12 UTC | |
by ManyCrows (Novice) on Oct 08, 2003 at 22:36 UTC | |
| |
by davido (Cardinal) on Oct 08, 2003 at 22:05 UTC |