summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6966c22)
raw | patch | inline | side by side (parent: 6966c22)
author | Ruud van Melick <ruud@vanmelick.com> | |
Tue, 30 Jun 2015 16:08:49 +0000 (16:08 +0000) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 7 Jul 2015 21:33:09 +0000 (23:33 +0200) |
"my" variable $cmd masks earlier declaration in same scope at /tmp/contrib_collectd2html.pl line 223.
syntax error at /tmp/contrib_collectd2html.pl line 219, near "$span qw(1hour 1day 1week 1month)"
Global symbol "$span" requires explicit package name at /tmp/contrib_collectd2html.pl line 221.
Global symbol "$span" requires explicit package name at /tmp/contrib_collectd2html.pl line 224.
Global symbol "$span" requires explicit package name at /tmp/contrib_collectd2html.pl line 225.
Global symbol "$span" requires explicit package name at /tmp/contrib_collectd2html.pl line 232.
Global symbol "$span" requires explicit package name at /tmp/contrib_collectd2html.pl line 237.
syntax error at /tmp/contrib_collectd2html.pl line 245, near "}"
syntax error at /tmp/contrib_collectd2html.pl line 219, near "$span qw(1hour 1day 1week 1month)"
Global symbol "$span" requires explicit package name at /tmp/contrib_collectd2html.pl line 221.
Global symbol "$span" requires explicit package name at /tmp/contrib_collectd2html.pl line 224.
Global symbol "$span" requires explicit package name at /tmp/contrib_collectd2html.pl line 225.
Global symbol "$span" requires explicit package name at /tmp/contrib_collectd2html.pl line 232.
Global symbol "$span" requires explicit package name at /tmp/contrib_collectd2html.pl line 237.
syntax error at /tmp/contrib_collectd2html.pl line 245, near "}"
contrib/collectd2html.pl | patch | blob | history |
index fe4e2bdb02663cf7777cf24553b443baf543faac..511b3f9d585d0a8ad2bfb1ea79e396fa7b8fdbac 100644 (file)
--- a/contrib/collectd2html.pl
+++ b/contrib/collectd2html.pl
END
# graph various ranges
- foreach my $span qw(1hour 1day 1week 1month){
+ foreach my $span (qw(1hour 1day 1week 1month)){
system("mkdir -p $IMG_DIR/" . dirname($bn));
my $img = "$IMG_DIR/${bn}-$span$IMG_SFX";