A simple but complete mapping application using Perl/Mapscript and HTML::Template. Hopefully someone will find it useful. Send me feedback if you use it. I will add more to it later... legends, layer controls, etc. http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex18