in reply to (OT) cross-platform $HOME
perldoc User NAME User - API for locating user information regardless of OSupdate: The only time I don't use User is when writing wxPerl apps, because wxWindows has it's own api to deal with that.
In Section
Seekers of Perl Wisdom