to access the perl script you have to install a webserver.
That might be a linux/apache based or Windows IIS server.
I have never setup perl with IIS, but here:
HOW TOxxx58; Configure and Test a PERL Script with IIS 4.0, 5.0, 5.1, and 6.0
is something from microsoft how to integrate perl and IIS
If you run perl within apache, you typically have a directory /cgi-bin/ where your scripts are located. A standard install of linux and apache should also install perl.
accessing the server with
http://some.interet.addr.com/cgi-bin/scriptname.cgi
will execute the script.
The dump of the sql database most likely only gives you 2 records, because only for 2 users currently the enterprise location tracking is enabled.
Let a cronjob execute the dump every 5 minutes on the Windows machine where the database is runnin, and, dump it in a directory where someone is able to access the file using a browser (create a new virtual directory in IIIS, make sure, only authorized people can access it), and, in the perl script replace:
$URL='http://192.168.0.1/bbmaps/bbmaps.txt'
with the location of the actual URL
if you then access the server where the perl script is located by:
http://some.interet.addr.com/cgi-bin...?user=username
you should see a map either generated by blackberry maps or by google maps with the location of the username user.
Does that help for a start ?