Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Saving application configuration to files

by skx (Parson)
on Mar 29, 2004 at 11:42 UTC ( [id://340568]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://340568]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-26 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found