in reply to Saving application configuration to files

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.

Steve
---
steve.org.uk
  • Comment on Re: Saving application configuration to files