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:
parent
22523e8f5b
commit
74b58a592a
3 changed files with 3 additions and 3 deletions
|
@ -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+)$/) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue