- or download this
for my $test (@testlist) {
if (defined $tref->{$host}{$test}) {
...
print "\t<th>-</th>\n";
}
}
- or download this
'vnsgnnwwor-gw-1' => {
'conn' => {
...
'status' => 'green'
}
},
- or download this
#!/usr/bin/perl -l
use strict;
...
print "$test is ", defined $tref->{$host}{$test} ? "True" : "False";
print "$test=>status is ", defined $tref->{$host}{$test}{status} ? "Tr
+ue" : "False";
print "$test is ", defined $tref->{$host}{$test} ? "True" : "False";
- or download this
vnsgnnwwor-gw-1 is True
http is False
http=>status is False
http is True