in reply to Data checking configuration files

Within reason, I would keep on doing what you’re doing.   You need to check that a key exists or die() in a meaningful way.   The fact that a script ran to completion should be a positive indication that it did so correctly, because only the script is in a proper position to detect any problem that might occur.   If there is something wrong with a settings-file ... or with any other input or output ... it must be the one to say.

Replies are listed 'Best First'.
Re^2: Data checking configuration files
by Amblikai (Scribe) on Sep 17, 2015 at 11:53 UTC

    I see your point, i wonder if i can do what i'm doing in a more efficient manner though. Are there any modules that you're aware of that could help?

    Maybe a direct comparison with an example config or similar?

    Thanks very much for your reply!

    A reply falls below the community's threshold of quality. You may see it by logging in.