How to check your ip number and email it to yourself using PERL
I have two older scripts for grabbing your ip and emailing it to you. Getip.pl and Getip2.pl And this week I put together Getip3.pl
The first script is the bare minimum needed and works on Linux. Just change it to put in your email address and run it as a cron job.
The second script works on Windows or Linux and is more robust than the first one. Again change the email information and then run it as a cron script under Linux or in the Windows scheduler if you are running Windows.
The third script works on OSX. Change the email to and from addresses. Install it as a cron job to have it run automatically on your computer. {MacDevCenter ‘Cron Job How To’ see bottom of the page }