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.
In taint mode, is tainted.
Just the getpwuid setting. Throws unimplemented exception on Windows (Raspberry, not Cygwin Perl).
Is not tainted.
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.
Is untainted except on Windows where it's tainted.
Tries $ENV{HOME} then glob "~" if exists (with assertments), otherwise xeffectiveuserhome.
In taint mode, can be (and usually is) tainted.
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.