in reply to CGI script help

I realize this does not answer your question, but I would like to suggest an improvement to the way in which you populate the @toppings array. The following code:
my %types; for (@fields) { $types{Cheese}++ if /cheese/i; $types{Pepperoni}++ if /pepperoni/i; $types{Sausage}++ if /sausage/i; } my @toppings = sort keys %types;