in reply to unreadable hash keys

I'm guessing you used DB_FILE or Storable. When writing hashes or datastructures to disk, this modules write the file in a database format. This is done for efficiency. They can't be read easily with and editor. Just read them using the appropriate mehods in the module. In the case of Storable, retrieve().