in reply to Complex Hash of Hashes (New to them)
print $VAR1->{'bgp-information'}->{'bgp-peer'}->[0]->{'peer-address'}, +"\n";
Outputs:
1.1.1.1
for (@{$VAR1->{'bgp-information'}->{'bgp-peer'}}){ print $_->{'peer-address'},"\n"; }
Outputs:
1.1.1.1 2.2.2.2 3.3.3.3
citromatik
|
|---|