perfsonar / perl-shared

Shared libraries used by perl packages and referenced as a submodule in many git repos
Apache License 2.0
7 stars 3 forks source link

QueryObject.pm: Use of uninitialized value $elem in concatenation #37

Closed vvidic closed 7 years ago

vvidic commented 7 years ago
Use of uninitialized value $elem in concatenation (.) or string
at /usr/share/perl5/SimpleLookupService/QueryObjects/QueryObject.pm line 72.

The warning seems to be coming from the undef value for interface-address list:

key = interface-addresses
var = $VAR1 = [
          '192.168.122.118',
          '192.168.122.1',
          'xenial-amd64',
          undef
        ];