in reply to Using CPAN module

You need to install the CGI::Application module, it's a framework, not an application. See the Documentation, the CGI Application website and A Tutorial for CGI::Application from the tutorials section to learn how to use it.

Actually if you are new to CGI programming have a look at some of the posts from Web Programming and Ovid's CGI Course.