Subject: | Suggested text for 'threshold' error in L4P::Config |
Date: | Thu, 30 Dec 2010 03:40:24 +0000 |
To: | bug-Log-Log4perl [...] rt.cpan.org |
From: | Andrew Sayers <andrew-rt.cpan.org [...] pileofstuff.org> |
I just tripped over this error message:
threshold keyword needs to be uppercase at
/usr/share/perl5/Log/Log4perl/Config.pm line 465.
Thanks for providing this message - it saved me a lot of
head-scratching. I found the exact text a bit confusing though. My
first thought was that I had written "warn" instead of "WARN", and my
next thought was that I should write "THRESHOLD" instead of "threshold".
After a bit of Googling, I realised that I was supposed to use the
capital case "Threshold". Could I suggest a message like:
invalid keyword 'threshold' - perhaps you meant 'Threshold'? at
/usr/share/perl5/Log/Log4perl/Config.pm line 465.