Avoid "Smartmatch is experimental" warning
This commit is contained in:
parent
3715509a13
commit
9f2786d99d
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ foreach my $hostname ( sort(keys %Status) ) {
|
|||
next if $hostname =~ /^\s*$/;
|
||||
next if $hostname =~ /^ /;
|
||||
next if ( $host && $hostname !~ m/$host/ );
|
||||
next if ( scalar(@hostlist) > 0 && not ($hostname ~~ @hostlist) );
|
||||
next if ( scalar(@hostlist) > 0 && not(grep /^\Q$hostname$/, @hostlist) );
|
||||
|
||||
my %HostStatus = %{$Status{$hostname}};
|
||||
my %host_conf = %{$server->ConfigDataRead($hostname)};
|
||||
|
|
Loading…
Reference in a new issue