in reply to writing hash to a file ...is it possible
Q2: a text based solution could be: use Data::Dumper; to write out and eval the contents to "reload" what has been written out.