1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

perl modules: fix braces for loop array

This commit is contained in:
Lars Kruse 2018-03-08 04:49:45 +01:00
parent 22523e8f5b
commit 74b58a592a
3 changed files with 3 additions and 3 deletions

View file

@ -139,7 +139,7 @@ my $converter = Text::Iconv->new("UTF-8", "LATIN1");
# $converted = $converter->convert("Text to convert");
# First all the simple readings
foreach my $attr qw (albums artists genres songs) {
foreach my $attr (qw(albums artists genres songs)) {
$conn->print ("info total ${attr} ?");
my $line = uri_unescape($conn->getline);
if ($line =~ /^info total ${attr} (\d+)$/) {