[Catalyst] Hair-pulling over YAML config

Carl Vincent C.A.Vincent at newcastle.ac.uk
Wed Jan 31 10:28:44 GMT 2007


 

>From: David Morel [mailto:david.morel at amakuru.net] 
>Sent: 31 January 2007 10:11

>> Chisel Wright wrote:
>>> On Tue, Jan 30, 2007 at 09:58:00AM -0000, Carl Vincent wrote:
>>>> That's exactly what we need - outputting warnings at on of the
>>>> ConfigLoader levels loses the content of the error message. Could
>>>> always add a "Keep Quiet" option...
>>>
>>> To be read from the unparsable/invalild config file? ;-)
>>
>> If the config file was parsed OK there's no need to report errors.
>> Because there weren't any.
>
>I guess what he meant was : where do you put the options for config  
>file parsing other than in the global config file (which won't be  
>parsed since it has errors). Only half-joking, so he was :)

When I originally suggested it, I was thinking of as an option when you
call Config::Any, thinking the programmer might know whether he was
expecting a lot of ignorable warnings or not. I'm not claiming to have
thought that through fully...!

-- 
     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     Carl Vincent             http://www.netskills.ac.uk/ (URL)
     Systems Manager                       0191 222 5003 (voice)
     Netskills, Newcastle University       0191 222 5001  (fax)
     Training  -  Accreditation  -  Consultancy  -  Development



More information about the Catalyst mailing list