Sounds fine to me.
BTW, you should be aware that there's an upcoming change to HomeDir that
you may need to care about too.
In short, there are some situations in which not only is thee no HOME,
but the current user literally does not have a home to find.
So homedir is going to start returning false.
The one you may care about is that root on Mac OS X does not have a home.
So you might at least need logic to handle that.
Adam K
via RT wrote:
Show quoted text> <URL:
http://rt.cpan.org/Ticket/Display.html?id=18307 >
>
> For now I don't care, but Win32 support would be nice one day, if I can get PAR to work.
>
> I'll require Homedir on Win32 in the future (patches welcome!), but I won't require it for Unix.
> I'll have a tiny function to use $ENV{HOME} || HomeDir(...)