If the program is not running as the user, $ENV{HOME} won't work. getpwnam returns a list with home directory at index seven.
After Compline,
Zaxo
In reply to Re: How to convert unix ~path (tilde) to full path
by Zaxo
in thread How to convert unix ~path (tilde) to full path
by mtr4cv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |