in reply to Re^2: Centos 7 getadsmtp.pl outputing blank
in thread Centos 7 getadsmtp.pl outputing blank

Possible unintended interpolation of @proxyAddresses in string

@ must be escaped in double quoted strings, and because you don't have an array named @proxyAddress, "@proxyAddress" evaluates to an empty string.

Another option is to use single quotes instead of double quotes.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^4: Centos 7 getadsmtp.pl outputing blank
by nycspud (Initiate) on Sep 06, 2019 at 16:33 UTC
    I declared the array before it was used and that cleared the warning messages. Thanks to everyone on this thread for helping to get this working!