Skip Menu |

This queue is for tickets about the Tk-ApplicationNest CPAN distribution.

Report information
The Basics
Id: 109211
Status: new
Priority: 0/
Queue: Tk-ApplicationNest

People
Owner: xpix [...] netzwert.ag
Requestors: ASB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.1
Fixed in: (no value)



Subject: Use File::HomeDir as default location to look for application configuration
The current v1.1 way of automagically determining the application's cmfiguration location is hand-made. Please exchange it by the my_data method of File::HomeDir. From the docs: "When writing applications on top of File::HomeDir, you should thus always try to use the most specific method you can. User documents should be saved in my_documents, data that supports an application but isn't normally editing by the user directory should go into my_data." This conforms also by Microsoft standards, as my_data will use %LocalAppdata% on Win32 to store data. According to https://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx, this is recommended for config files: "Local app data Local app data should be used for any information that needs to be preserved between app sessions and is not suitable type or size wise, for roaming app data. Data that is not applicable on other devices should be stored here as well. There are no general size restriction on local data stored. Location is available via the localFolder property. Use the local app data store for data that it does not make sense to roam and for large data sets."