Do you know where your variables are? | |
PerlMonks |
Re: Best practice for setting module "environment" variablesby BillKSmith (Monsignor) |
on May 06, 2017 at 22:01 UTC ( [id://1189699]=note: print w/replies, xml ) | Need Help?? |
Regardless of which mechanism you choose, I recommend that an initialization module set the configuration for each machine. The file should only specify the machine serial number, or similar identification. This prevents a casual user from putting your script in an invalid state.
Bill
In Section
Seekers of Perl Wisdom
|
|