Skip Menu |

This queue is for tickets about the Chart-Strip CPAN distribution.

Report information
The Basics
Id: 26118
Status: resolved
Priority: 0/
Queue: Chart-Strip

People
Owner: Nobody in particular
Requestors: jasonk [...] cpan.org
Cc:
AdminCc:

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



Subject: Uninitialized value warnings
The attached patch fixes a couple of 'Use of uninitialized values' warnings that can occur in Chart::Strip when it uses uninitialized values in a couple of calculations.
Subject: Chart-Strip.patch
--- /usr/local/lib/perl5/site_perl/5.8.8/Chart/Strip.pm.orig 2007-04-05 12:14:11.000000000 -0400 +++ /usr/local/lib/perl5/site_perl/5.8.8/Chart/Strip.pm 2007-04-05 12:16:43.000000000 -0400 @@ -183,6 +183,8 @@ draw_tic_labels => 1, draw_data_labels=> 1, + limit_factor => 0, + # title # x_label # y_label @@ -721,7 +723,9 @@ return unless $me->{draw_data_labels}; - my( $tw, $r, @cl, @cx ); + my( @cl, @cx ); + my $r = 0; + my $tw = 0; # round the neck of the bottle was a paper label, with the # words 'DRINK ME' beautifully printed on it in large letters # -- Alice in Wonderland
On Thu Apr 05 12:21:57 2007, JASONK wrote: Show quoted text
> The attached patch fixes a couple of 'Use of uninitialized values' > warnings that can occur in Chart::Strip when it uses uninitialized > values in a couple of calculations.
And now that I've reported it I see that it's actually fixed in 1.05, although for some reason rt.cpan.org and CPANPLUS both list 1.01 as the latest version...