u can find some premade cgi scripts some are free

http://cgi.resourceindex.com/Programs_and_Scripts/Perl/

http://hotscripts.com/CGI_and_Perl/S...ams/index.html