From: gabriele renzi Date: 2003-07-30T11:28:01+09:00 Subject: Re: Warnings? il Tue, 29 Jul 2003 22:53:41 +0200, "Robert Klemme" ha scritto:: >The approach most reasonable is IMHO to provide a warning handler setting >mechanism similarly to the trace handler. Only I don't know how much >runtime overhead that'd be. The handler block could receive something like >|level, code, message, sender| and treat it appropriately. -W0, -W1 etc. >would then change the block's filtering according to level. I proposed a think like this ! I'm not alone ! :) Oh, and a $VERBOSE as $VERBOSE={ 'version_warnings'=>true, 'uninitialized_vars'=>false, 'redefined_nethode'=>true} well, with more elements:) >Or should we use a mature logging feature? Maybe >http://sourceforge.net/projects/log4r/ or a smaller solution. Matz, what do >you think? devel/logger could fit?