Skip Menu |

This queue is for tickets about the MultiTail CPAN distribution.

Report information
The Basics
Id: 48692
Status: new
Priority: 0/
Queue: MultiTail

People
Owner: Nobody in particular
Requestors: tdoty [...] mst.edu
Cc:
AdminCc:

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



Subject: MultiTail bug
Date: Thu, 13 Aug 2009 15:05:59 -0500
To: <bug-MultiTail [...] rt.cpan.org>
From: "Doty, Timothy T." <tdoty [...] mst.edu>
MultiTail 0.5 has a bug that prevents setting any parameters to a value of zero. This is a problem with, for example, the NumLines parameter as it forces a minimum of the last line to be read from a file. The problem comes from lines 98 to 100: foreach my $keys ( keys %$args ) { $args->{$keys}=$Default{$keys} unless $args->{$keys}; } Even those that are supposed to allow a value of zero don't due to the faulty logic. This should rather be: foreach my $keys ( keys %$args ) { $args->{$keys}=$Default{$keys} unless defined( $args->{$keys} ); } Tim Doty Systems Security Analyst Missouri S&T
Download smime.p7s
application/x-pkcs7-signature 6.4k

Message body not shown because it is not plain text.