koldfront

Best practices: Configuration #perl

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?

Title:

Name:

Email (won't be displayed online):

Text:

0.0256 s
webcustodian@koldfront.dk