Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: My preferred way of handling config data in Perl is:by tubaandy (Deacon) |
on Dec 15, 2006 at 15:24 UTC ( [id://590041]=note: print w/replies, xml ) | Need Help?? |
I usually use .txt files instead of .ini. Alternatively, .rc files are nice as well... On the other hand, if you will be passing your script to someone else, embedding the config data in the script is a little more portable (although forces you to update the code eveytime there is a config change, versus just messing with the .ini/ .txt/ .rc file). Ah, TIMTOWTDI.
tubaandy
In Section
Past Polls
|
|