http://www.perlmonks.org?node_id=795567


in reply to (OT) cross-platform $HOME

File::HomeDir is most popular these days