[Catalyst] [Patch] Catalyst::Plugin::Authentication::Credential::Password.pm -- typo and debug consistency

Christopher H. Laco claco at chrislaco.com
Mon Jan 9 17:58:19 CET 2006


phaylon wrote:
> Am Montag, den 09.01.2006, 07:09 -0800 schrieb Bill Moseley:
> 
>>>              $c->log->debug(
>> ...
>>> +                  if $c->debug;
>> I see that quite often.  Is that just to save one method call?
> 
> IIRC $c->log->debug doesn't care about the $c->debug flag, it just
> outputs into the debug channel.
> 
> hthatir, p
> 

Right. So, do we do "if $c->debug" in 400 different places, of should
$c->log->debug do that check itself?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060109/fcb4f6a0/smime.bin


More information about the Catalyst mailing list