That's the background. I'm wondering if it is better to keep the list of directories in a separate file or to keep it in the script under __DATA__ and read that in each time the script scans the directories. Are there any advantages that anyone can see? The only one I can see at this point would be that everything is contained in one file. On the other hand, keeping the list in a separate file means that someone (not me) would not have to dig through the program to add a new directory (or take one away). Any other thoughts pro or con to keeping the list in a __DATA__ versus using a separate config file?
In reply to DATA versus config file by nimdokk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |