in reply to array or hash reference
The reason I used this data structure in my orginal (very low dirty program) was to make sure that the hashes of data came out in the same order every time without using SAX filters on the XML the hashes where read from.@jobs = ({'job1'='17:30'},{'job2'='17:31'}); #to access this data which is, I expect, what you need to know, you w +ould do something like this foreach $job(@jobs){ foreach $key (keys(%$job)){ print "$key = ".$key->{$key}."\n"; } }
|
|---|