in reply to windows app-data path
I've not used it but File::HomeDir seems to offer this functionality.