#!/usr/local/bin/perl
# update_faq.pl
#
# Reads the text files of disciplinary questions and answers
# (gen.qna bio.qna geo.qna phys.qna chem.qna)
# and parses each question into a disciplinary table of questions,
# as well as a separate disciplinary page that juxtaposes
# the questions with their answers.
# OPEN THE TOC BODY FILE
open (TOC, ">toc.html") || die "Can't open TOC outfile\n";
# Read thru the input file, creating disciplinary outfiles and
# feeding the questions into them, as well as a TOC.
# Begin general section...
print TOC "\n";
print TOC "