#!/usr/local/bin/perl ######################################################################### # search2: Search for ice cream orders - multiple search fields ######################################################################### use CGI "param"; $searchName = param('fullname'); $searchAddr = param('addr'); $searchFlavor = param('ice'); print "Content-type: text/html \n"; print "\n"; open (ORDERFILE, "< ../../data/order.file") || print "Cannot open file - $!"; print "
Name | Address | Ice Cream Flavor |
---|---|---|
$fname | $address | $flavor |