in reply to Mapping visitors to my site

You could investigate using Geo::IP (see a review of alternatives), matching lat/long for each address in usersonline.txt. Using Image::WorldMap to create a map with the access points plotted. You could refresh this using JavaScript/AJAX as required.