Skip Menu |

This queue is for tickets about the StatsView CPAN distribution.

Report information
The Basics
Id: 7820
Status: new
Priority: 0/
Queue: StatsView

People
Owner: Nobody in particular
Requestors: timothybutler [...] charter.net
Cc:
AdminCc:

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



Subject: gnuplot version check in StatsView-1.4's Makefile.PL should be case insensitive
The check of gnuplot version looks for the string /version\s*([\d.]*)/ but gnuplot v3.7pl3 now capitalizes the word "Version": Show quoted text
gnuplot> show version
G N U P L O T Version 3.7 patchlevel 3 This causes the error: WARNING: Incorrect version of GNUPlot found StatsView requires GNUPlot 3.7 or above. A copy can be found in the gnuplot_src subdirectory Making the two match operators case insensitive fixes the issue: $ diff Makefile.PL~ Makefile.PL 20,21c20,21 < my ($ver) = $hdr =~ /version\s*([\d.]*)/; < my ($plev) = $hdr =~ /patchlevel\s*(.*)/; --- Show quoted text
> my ($ver) = $hdr =~ /version\s*([\d.]*)/i; > my ($plev) = $hdr =~ /patchlevel\s*(.*)/i;