foreach (keys %stuff_to_store) { print $_,' ',$stuff_to_store{$_},"/n"; }