Chj::xhome
Get the user's home directory in a safe manner.
Just the $HOME env var, dieing if not set, and also checked against a couple assertments.
Just the getpwuid setting. Throws unimplemented exception on Windows (Raspberry, not Cygwin Perl).
Always take xeffectiveuserhome (unless on Windows, in which case this is currently the same as xhome), but is asserting that HOME is the same if set.
Tries $ENV{HOME} then glob "~" if exists (with assertments), otherwise xeffectiveuserhome.
This is alpha software! Read the status section in the package README or on the website.
To install FunctionalPerl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FunctionalPerl
CPAN shell
perl -MCPAN -e shell install FunctionalPerl
For more information on module installation, please visit the detailed CPAN module installation guide.