I've put screenshots showing how i run a script called getmap.pl on my win98 machine:
http://plh.org/getmap.jpg for start/run window
http://plh.org/msdos.jpg for msdos window
I added the die here line to stop all the debugging info from scrolling the command line off the screen =)