in reply to Slick way to upload dynamic IP addresses

I worked on something similar to this, there are some suggestions that I would make. First is to use the Sys::Hostname module and the Socket module to grab the ip, rather than pipe the output of ipconfig:
use strict; use Sys::Hostname; use Socket; my $host = hostname(); my $ip = inet_ntoa(scalar(gethostbyname($host))); print $ip;
This works as long as the host name is correct (at least on linux the hostname has to be proper - windows didn't really seem to matter).
Second suggestion is obviously minor, but change the "public_html" to $htm_dir or something along those lines, not everybody uploads to public_html.
Third and quite possibly most important use strict always. It is a big deal, it can save so much useless troubleshooting in the long run. I used to not - ever, but I have seen the wisdom, after spending a couple hours trying to find the bug in a largish script, finally realized that one of my variables was badly named. Use strict and -w and you will be happier in the future.

Now for extra credit (grin) - rewrite this so that it changes one or many pre-existing web-pages, some people have a lot of links that point back to their home box from their isp's web page. And of course makes sure that it can pick up where it left off (ie, program hasn't been running for a few days for whatever reason, maybe IP has changed a couple of times since the last update). Fun fun. Cheers