libfile-save-home-perl

Perl extension to place file safely under user home directory
  https://metacpan.org/release/File-Save-Home/
  0
  no reviews



File::save::home provides several functions which try to determine whether you can, indeed, safely create directories and files underneath a user's home directory. among other things, if you are placing a file in such a location only temporarily -- say, for testing purposes -- you can temporarily hide any already existing file with the same name and restore it to its original name and timestamps when you are done.