#! /usr/local/bin/perl # Filename: libask.pl # By: Huijie Chen and Eric Delozier # Date: 1998/08/31 # Note: require "cgi-lib.pl"; MAIN: { # Read in all the variables set by the form &ReadParse(*input); # Print the header print &PrintHeader; print &HtmlTop ("Questions and Feedbacks"); # Do some processing, and print some output ($text = $input{'text'}) =~ s/\n/\n
/g; # add
's after carriage returns # to multline input, since HTML does not # preserve line breaks print < Thank you for using this service. Your message has been mailed to Heindel Library Reference Services. If you asked a question and we have an answer, we will reply by email.

Your original questions or comments:

ENDOFTEXT # Close the document cleanly. print &HtmlBot; open (SENDMAIL, "| /usr/bin/mailx -t -n"); print SENDMAIL <