Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Best practice for configuration variables stored in external file

by afoken (Monsignor)
on Sep 06, 2013 at 19:33 UTC ( #1052757=note: print w/ replies, xml ) Need Help??


in reply to Re: Best practice for configuration variables stored in external file
in thread Best practice for configuration variables stored in external file

Constants belong into the code. Configuration options don't.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re^2: Best practice for configuration variables stored in external file

Replies are listed 'Best First'.
Re^3: Best practice for configuration variables stored in external file
by tunafish (Sexton) on Sep 08, 2013 at 01:51 UTC

    I think then that I'm talking about "constants", not "configuration variables". They are not, at any point, edited from within the script.

    Would "use Module" then be the best way to handle this?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2016-06-28 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (357 votes). Check out past polls.