[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stanford IDG internal Perl style



Niels Thykier <niels@thykier.net> writes:
> On 2013-03-29 18:24, Russ Allbery wrote:

>> * For loading configuration files, use Config::Any in most situations.
>> Some older files use AppConfig, but Config::Any is the current
>> standard.

> How do you get errors from Config::Any?  Documentation has nothing about
> it AFAICT and the implementation just returns an empty listref on error.

Oh, hm.  Indeed, it only returns errors when you use file name extensions
to map unambiguously to a particular configuration syntax.  It looks like
we mostly don't handle errors.  I'll ask about that.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: