Perl

David Kim kim at salve2.salve.edu
Fri Dec 19 07:51:22 EST 1997


I am a beginner for Perl. In a HTML file, I set up a pull-down menu offering 
several subjects to choose from.  If a student selects "art" for example, 
I try to make the server establish a link to art web site. The following is 
a part of my cgi script.  Instead of making a link, it simply print my command 
on the screen.  What am I doing wrong?

	{
	if ($input{'subject'} eq "art")
		{
		print "Location: http://salve4.salve.edu/sub-arts.html\n\n";
		}
	}

Thank you for help.

David Kim
kim at salve.edu


More information about the Web4lib mailing list