Personally, I prefer not to have "developer" configuration (also passwords) in the program. I either put those into a configuration file or take them from %ENV.Taking them from %ENV sounds interesting. If i understood well, it would mean that as a default, $I_AM_DEV would be set to 0, and that on my computer, it would be set to 1 through an environmental variable. Thus, i wouldn't need to change it each time i'm passing him the program (i also just send him the .pl file when there are no new prerequisites).
In reply to Re^2: How to turn a "developer code" into a "user code"
by mascip
in thread How to turn a "developer code" into a "user code"
by mascip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |