I've written a module. When the module is running on machine X, I want a certain directory to be set to Y. When running on machine A, I want the directory to be B. I'm assuming that the best way to achieve this is through some kind of config file for the module. Instead of rolling my own solution, I'm guessing there is already a CPAN module for this. I'm familiar with Config::Simple but wondering if there might be something out there more specific for this task for setting "environment" variables for use with modules. Thanks.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to Best practice for setting module "environment" variables by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |