in reply to Storing unordered data from file in memory

I would have thought , a hash with key for address and value for data, then
my prev_address=0; for my $address (sort keys %data){ ...
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."