The cgi-lib.pl Perl library simply consists of handy, easy-to-use Perl functions. The library is more than simply a means of processing CGI input. The library includes subroutines to:
The cgi-lib.pl input routines can accept all and process all methods of input (e.g. GET and POST methods). You do not have to worry about which mechanism has been adopted.
Let us now develop a minimal.pl CGI routine that accepts input form our minimal form and sends back HTML that echoes the input data. We will use the cgi-lib.pl.