I've updated Tree::Persist (V 1.03), including:
Implement user-specified class names for deflation/inflation of objects.
See t/load_from_file.t and t/save_and_load.t for sample code.
Lastly, I have to say the previous review is quite nasty, giving 1 star (and no I did not write that version of the code). The code works perfectly, and just lacks a specific feature. An email to the maintainer (me, Ron Savage) would have been a much more civil choice of communication).
1 hidden unhelpful review