Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by tubaandy (Chaplain)
on Dec 15, 2006 at 15:24 UTC ( #590041=note: print w/ replies, xml ) Need Help??


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

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


Comment on Re^2: My preferred way of handling config data in Perl is:

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-07-11 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (224 votes), past polls