Subject: | Documenation conflict around -StrictObjects |
Sayeth the Config::General docs:
If you turn -StrictObjects off (by setting to 0 or "no") it will just
return an empty object/hash/scalar.
Sayeth the Cofngi::General::Extended docs:
You can turn this behavior off by setting -StrictObjects to 0 or "no".
In this case undef will be returned.
It turns out that the code emulates the former, rather than the much
more useful latter behavior.
It would be nice if the second behavior were emulated, for it is much
more useful to know without calling $o->exists ('widget') whether an
item exists in the configuration. One could simply call $o->widget and
act on the return value (if undef, it's not there: if '', then it's
there, but empty.)