Skip Menu |

This queue is for tickets about the SVG-Sparkline CPAN distribution.

Report information
The Basics
Id: 102493
Status: resolved
Priority: 0/
Queue: SVG-Sparkline

People
Owner: cpan.wade [...] anomaly.org
Requestors: SZABGAB [...] cpan.org
Cc:
AdminCc:

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



Subject: warnings when running sparkline.pl without parameters (SVG-Sparkline-1.1)
$ sparkline.pl Use of uninitialized value $type in string eq at /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/bin/sparkline.pl line 11. Use of uninitialized value $type in string eq at /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/bin/sparkline.pl line 11. Use of uninitialized value $type in string eq at /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/bin/sparkline.pl line 63. Use of uninitialized value in split at /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/bin/sparkline.pl line 63. Use of uninitialized value $type in string eq at /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/bin/sparkline.pl line 65. Use of uninitialized value $type in string eq at /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/bin/sparkline.pl line 65. No Sparkline type specified. at /Users/gabor/perl5/perlbrew/perls/perl-5.20.1_WITH_THREADS/bin/sparkline.pl line 37.
Thanks for catching this. I've normally used the script for quick Sparkline creation and I guess I've never run it without a type. This will be corrected in the 1.11 version that should be published later today. On Tue Mar 03 12:31:22 2015, SZABGAB wrote: Show quoted text
> $ sparkline.pl > Use of uninitialized value $type in string eq at > /Users/gabor/perl5/perlbrew/perls/perl- > 5.20.1_WITH_THREADS/bin/sparkline.pl line 11. > Use of uninitialized value $type in string eq at > /Users/gabor/perl5/perlbrew/perls/perl- > 5.20.1_WITH_THREADS/bin/sparkline.pl line 11. > Use of uninitialized value $type in string eq at > /Users/gabor/perl5/perlbrew/perls/perl- > 5.20.1_WITH_THREADS/bin/sparkline.pl line 63. > Use of uninitialized value in split at > /Users/gabor/perl5/perlbrew/perls/perl- > 5.20.1_WITH_THREADS/bin/sparkline.pl line 63. > Use of uninitialized value $type in string eq at > /Users/gabor/perl5/perlbrew/perls/perl- > 5.20.1_WITH_THREADS/bin/sparkline.pl line 65. > Use of uninitialized value $type in string eq at > /Users/gabor/perl5/perlbrew/perls/perl- > 5.20.1_WITH_THREADS/bin/sparkline.pl line 65. > No Sparkline type specified. > at /Users/gabor/perl5/perlbrew/perls/perl- > 5.20.1_WITH_THREADS/bin/sparkline.pl line 37.
Test for missing type at the beginning of program. Code for verifying legal types did not test this case.