- or download this
my $ams_hosts = $request->get_config()->get_ams_hosts($domain);
- or download this
print STDERR Dumper @{$ams_hosts};
- or download this
$VAR1 = {
'domainId' => '1',
...
'deviceType' => 3,
'deviceName' => 'ams_57'
};
- or download this
my %ams_ips_hash = map {$_->{'deviceIp'}++} @{$ams_hosts};
$ams_ip = "" if !exists $ams_ips_hash{ $ams_ip};