Subject: | Minor improvement on handling of 'max' argument |
Date: | Thu, 6 Sep 2007 14:50:26 +0000 |
To: | <bug-log-dispatch-filerotate [...] rt.cpan.org> |
From: | Andreas Falch <andreas1234567 [...] hotmail.com> |
Message body is not shown because sender requested not to inline it.
Hi,
I ran into the following warning when I forgot to specify 'max':
$ perl -wle 'use strict; use Log::Dispatch::FileRotate; Log::Dispatch::FileRotate::->new( name => q{foo}, min_level => 1, filename => q{/tmp/my.log} )'
Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.5/Log/Dispatch/FileRotate.pm line 52.
This is perl, v5.8.5
Module id = Log::Dispatch::FileRotate INST_VERSION 1.16
See attached patch for a minor improvement on handling of the 'max' argument.
Thanks!
Andreas
--
Show quoted text
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline