These will, generally, be PERL routines done for real applications
I've done for clients. Generally the perl is done from a unix
platform running the Apache server.
Sometimes the routines will only be "fragments" of the full
perl routine.
Other examples and explanations on my CGI is at
http://www.aescon.com/aescon/cgi