in reply to Setting a hash element to a anoymous hash
Second, in the print statement, you need to dereferene the hash, not the key:$time{$previous} = { 'end_date' => $date, 'end_time' => $time };
print "$_ $time{$_}{start_date} <br> \n" for (sort keys %time);
-Mark
|
|---|