phranque - 4:00 am on Jul 11, 2010 (gmt 0)
welcome to WebmasterWorld [webmasterworld.com], imagexposure!
how-to posts work better here if you describe the problem rather than asking people to visit the site.
this way if the page changes or the url is taken down, the thread here still has a helpful record for others to learn from far into the future.
i doubt you are going to find a script that does exactly what you are looking for so you will have to learn some of the basics of CGI [perldoc.perl.org] programming and modify an existing perl script.
i would suggest starting with a search of the perl script repositories such as HotScripts' CGI & Perl Script & Programs [hotscripts.com] or SourceForge's Perl Software Search [sourceforge.net].
look for scripts in the file upload or image gallery categories.
if you haven't already done so you will probably need to use a database as part of your solution.
you may also want to consider using a PHP [webmasterworld.com] script, rather than perl.
PHP seems to provide a lower barrier to entry.