Subject: | only emit "Warning: HOME not set" if neccessary |
(Already confirmed in email conversation with the package maintainer)
Web applications do not neccessarily have a $HOME, as you need to change
config files to explicitly set it for CGI scripts.
It would therefore be good if File::BaseDir only emits the warning about
missing $HOME if it *must* access it for storing data there (it
currently does always on "use 'File::BaseDir').
An alternative: make it configurable, if the application using
File::BaseDir is a desktop app that needs $HOME or a webservice that
doesn't.
Thank you for considering.