I'm stuck on how to create a data file that can be read and written to. If I used File::ShareDir, I find that I don't have permission to write to the data file (it's a json file with oauth info that has to be periodically udpated). If I stick the module in a directory within the module, the path to the data file cannot be found by both my test scripts and the module when it is actually installed . I suppose I could get the absolute location of the module on the system and tack that on the front of the file name but I'm wondering if there is a better recommendation for handling this problem. Thanks!
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
In reply to Reading/writing to a module's data file by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |