in reply to Re^4: How to handle Net::Address::IP::Local'->public when we are not connected to internet
in thread How to handle Net::Address::IP::Local'->public when we are not connected to internet

No, it is no longer a fatal error. The program just does what you asked it to do: it prints the content of $@. And then it continues and prints your static IP address, which is enough to prove that the program does not die because of the socket exception.

Je suis Charlie.
  • Comment on Re^5: How to handle Net::Address::IP::Local'->public when we are not connected to internet