in reply to Re: Need to calculate IP address
in thread Need to calculate IP address

I did notice that I had the + and - reversed by accident. This was incorrect in my initial code and has been corrected there as well. However, even with that correction, my variable '$bgp_ip' still has no value.

Replies are listed 'Best First'.
Re^3: Need to calculate IP address
by haukex (Archbishop) on Dec 28, 2017 at 20:04 UTC
    my variable '$bgp_ip' still has no value

    I just re-downloaded the code from the root node and ran it, the only change I made was to add a print of $bgp_ip, and that variable is definitely not empty. So either the code you have posted here is not the code you are running, or there is some other mistake - for example, perhaps you have a typo in the variable name that is not being caught due to a missing strict. Please either post the actual code you are running or use the tips from the Basic debugging checklist to hunt down the problem in your code.