Skip Menu |

This queue is for tickets about the Log-Dispatch-FileRotate CPAN distribution.

Report information
The Basics
Id: 29208
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Log-Dispatch-FileRotate

People
Owner: cpan [...] mlp-consulting.com.au
Requestors: andreas1234567 [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Added your idea in. Thanks for letting us know. Will be out in 1.18. -- cheers markpf