View Full Version : Generate simple HTML

08-26-2009, 12:15 AM
Hi! So I have a perl script that I wrote that will generate an output file containing a list with file extensions, and affiliated rules that go with code review for that file. Here is an example:

Limit line length to 80 chars.
Indent lines with tab
Use goto statements to hand errors/exceptions and to have a common exit point from the function.

Limit line length to 80 chars.
Use proper try/catch blocks to handle error/exceptions.
Indent lines with 4 spaces

I want to generate an HTML page (using this output file) with CGI that will:
1.) print out the file names as headers
2.) list the rules below it as a list (with check boxes next to each rule)
3.) have a box at the bottom of the page where one can input text into it as a value to be saved.

I think this is simple to do, but I am a total newbie and this is really hard. I thought creating the perl script was hard enough, but I am struggling with this last bit of CGI. Any help would be greatly appreciated! Thanks!

08-28-2009, 12:45 PM
If you post the code you use now, people are going to be more able to help you.