Description of problem: Pem stores configuration in .pem. It should follow xdg base dir spec References: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html A non spec rationale http://ploum.net/207-modify-your-application-to-use-xdg-folders/ Perl module http://search.cpan.org/~aerdan/File-XDG-0.04/lib/File/XDG.pm