You can see the source code of the cgi files on my site. Viewing Source Code of CGI Files
Add ?(file name) in the above URL box.
For example, add ?viewcode.cgi to see the source code of this page.
http://kkitao.e-learning-server.com/cgi/viewcode.cgi?viewcode.cgi
Try this with other cgi pages, too.