I think CGI is outdated. The CGI::* modules filled a good purpose as the concept of interactive web programs gained interest, but today, much more complete solutions are available. Take a look at
Apache::ASP
I can't say enough about how much easier it is to do things with this.