Merge tag 'v1.34' into debian

This commit is contained in:
Dima Kogan 2014-08-06 15:16:17 -07:00
commit 73ed9b545a
2 changed files with 15 additions and 2 deletions

10
Changes
View File

@ -1,3 +1,13 @@
feedgnuplot (1.34)
* Fix for "Use of implicit split to @_ is deprecated". Thanks to Corey
Putkunz
* Declaring feedgnuplot as a package to let MetaCPAN index this
distribution
-- Dima Kogan <dima@secretsauce.net> Wed, 14 May 2014 00:45:24 -0700
feedgnuplot (1.33) feedgnuplot (1.33)
* fixed incorrect plotting of --timefmt --rangesize plots * fixed incorrect plotting of --timefmt --rangesize plots

View File

@ -1,4 +1,7 @@
#!/usr/bin/perl #!/usr/bin/perl
package feedgnuplot; # for the metacpan indexer
use strict; use strict;
use warnings; use warnings;
use Getopt::Long; use Getopt::Long;
@ -13,7 +16,7 @@ use Thread::Queue;
use Pod::Usage; use Pod::Usage;
use Time::Piece; use Time::Piece;
my $VERSION = 1.33; my $VERSION = 1.34;
my %options; my %options;
interpretCommandline(); interpretCommandline();
@ -371,7 +374,7 @@ sub interpretCommandline
$options{timefmt} =~ s/^\s*//; $options{timefmt} =~ s/^\s*//;
$options{timefmt} =~ s/\s*$//; $options{timefmt} =~ s/\s*$//;
my $Nfields = scalar split( ' ', $options{timefmt}); my $Nfields = () = split /\s+/, $options{timefmt}, -1;
$options{timefmt_Ncols} = $Nfields; $options{timefmt_Ncols} = $Nfields;
# make sure --xlen is an integer. With a timefmt xlen goes through strptime # make sure --xlen is an integer. With a timefmt xlen goes through strptime