While it certainly can be done, the priority here should probably be making the best value of your time. From that perspective, CGI was removed from CORE specifically because modern frameworks, such as marto's suggested Mojolicious::Lite, actually get you done faster for even simple projects than either hand-rolled or CGI-assisted web page development. A read through CGI::Alternatives is worth your time.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.