How can I tell whether I am running a module in development, or it has been installed?
Here is my challenge: I want to read a config file that might be different in development than in production. And they might be on the same machine. I use File::Sharedir for my read-only files, and that returns a different location in each case. But that location is not really ideal for config files. It is too obscure.
File::UserConfig does want I want, but returns the same directory during development as after installation.
How do others manage dev/prod config files without defining them absolutely in code?In reply to Development config files by willymacoy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |