P is for Practical | |
PerlMonks |
Re^5: How to handle Net::Address::IP::Local'->public when we are not connected to internetby Laurent_R (Canon) |
on Jan 19, 2015 at 18:59 UTC ( [id://1113803]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|