or download this
On systems which follow Unix shell conventions, a user may
supply a pathname with the tilde (~) character to refer to
...
built-in <c>getpwnam()</c> function and <c>%ENV</c> hash
are the best places to refer, or use the newer globbing
features that support them automatically.