Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
We don't bite newbies here... much
 
PerlMonks  

Re: My preferred way of handling config data in Perl is:

by Nkuvu (Priest)
on Dec 14, 2006 at 17:41 UTC ( #589878=note: print w/ replies, xml ) Need Help??


in reply to My preferred way of handling config data in Perl is:

I ask the user. Every single time.

Sure, it's repetitive, and yes, the users get frustrated, but it's so fun to ask them the same questions every time (with confirmation for each question). The best part is when I ask for configuration options that my scripts don't use. ("Enter the distance from the Earth to the sun, in centimeters: ")

Or maybe I just use text files -- but that's a less interesting answer, so...


Comment on Re: My preferred way of handling config data in Perl is:
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2014-04-17 18:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (453 votes), past polls