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

Re: Should you use a module to hold configuration items?

by talexb (Chancellor)
on Sep 19, 2010 at 01:34 UTC ( [id://860665]=note: print w/replies, xml ) Need Help??


in reply to Should you use a module to hold configuration items?

Best Practice? No. Unacceptable? No, as long as these modules only have configuration data, and are marked as configuration files in the packages that they come from.

Purists would say configuration information should never live in a module; if you're writing something new from scratch, I'm a fan of YAML, but not everyone likes it. For something that already exists, configuration info in a module is fine.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

  • Comment on Re: Should you use a module to hold configuration items?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-26 07:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found