Help for this page

Select Code to Download


  1. or download this
    use strict;
    
  2. or download this
    use CGI;
    $query = new CGI;
    
    $topic_directory = "topics";
    
  3. or download this
    if($query->param('topic')){
         $topic = $query->param('topic');
         &file_error unless (&open_topic);
    
  4. or download this
    sub print_response_form{
         print "<FORM METHOD=\"post\" ACTION=\"post.pl\">\n";
         print "<INPUT TYPE=\"hidden\" NAME=\"action\" ";
    
  5. or download this
    # isn't this
    print qq{<FORM METHOD="post" ACTION="post.pl">\n};
    
    # better than this?
    print "<FORM METHOD=\"post\" ACTION=\"post.pl\">\n";