Several people have already made suggestions, but one option that you might not have considered is to use Data::Dumper.
This could be used to output a data structure of almost arbitary complexity to a configuration file - and then you could read it back into your script via eval.
The drawback of many of these configuration suggestions, and this one, is that when you perform a save you are going to trash any comments/changes a user might have manually made.
In reply to Re: Saving application configuration to files
by skx
in thread Saving application configuration to files
by crabbdean
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |