koldfront

Best practices: Configuration #perl

🕠︎ - 2008-07-15

When a module can be passed a reference to some sort of configuration object, the module should not modify the configuration as an undocumented side-effect of calling it.

Sounds reasonable, yes?

Rationale: The caller is quite likely to want to use the same configuration object for several modules.

Not exactly rocket science, right?

Add comment

How to comment, in excruciating detail…

To avoid spam many websites make you fill out a CAPTCHA, or log in via an account at a corporation such as Facebook, Google or even Microsoft GitHub.

I have chosen to use a more old school method of spam prevention.

To post a comment here, you need to:

  • Configure a newsreader¹ to connect to the server koldfront.dk on port 1119 using nntps (nntp over TLS).
  • Open the newsgroup called lantern.koldfront and post a follow up to the article.
¹ Such as Thunderbird, Pan, slrn, tin or Gnus (part of Emacs).

Or, you can fill in this form:

+=