Perl Monk, Perl Meditation | |
PerlMonks |
Re: Script to Notify of Public IP Changeby space_monk (Chaplain) |
on Nov 29, 2012 at 16:09 UTC ( [id://1006284]=note: print w/replies, xml ) | Need Help?? |
Well, it looks as thoough there is no provision for the wget to fail; I suspect that when it does fail it doesn't return a valid IP address! :-) The simple answer is that you could have it simply not perform any action if the ip returned from the wget is blank, or even does not match a regex.
A Monk aims to give answers to those who have none, and to learn from those who know more.
In Section
Seekers of Perl Wisdom
|
|