From 569e8334c13c0d2bef527b32f7e986022a05927f Mon Sep 17 00:00:00 2001 From: Matthieu Cerda Date: Mon, 10 Aug 2020 13:55:20 +0200 Subject: [PATCH] rrd-extractstats.pl: fix bareword (disallowed by use strict, fixes #91) --- bin/rrd-extractstats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rrd-extractstats.pl b/bin/rrd-extractstats.pl index 1dbe265..538d72f 100755 --- a/bin/rrd-extractstats.pl +++ b/bin/rrd-extractstats.pl @@ -54,7 +54,7 @@ try { my $sth = $db->prepare("SELECT asn, checked_at FROM stats") or die('field missing'); $sth->execute(); while(my($item, $data) = $sth->fetchrow_array()) { - as_list->{$item} = $data; + $as_list->{$item} = $data; } $db_version = 2;