Here is a comprehensive beginning book on CGI/PERL on line http://docs.rinet.ru/CP7/ if you're ready for some serious study.

If you're just looking for free CGI scripts, just do a google search for "cgi script". Best wishes...PERL scripts are hard to debug for novices, and you have to get all the paths right for your particular webhost.