#!/usr/bin/perl use CGI qw:/standard/; @year = qw(January Feb Mar Apil May June July Aug Sept Oct Nov Dec); $month = param('month'); $day = param('day'); print header; print "
"; print "
"; if (param('month')) { if (($month eq 'January') && ($day > 20) || ($month eq 'Feb') && ($day < 20)) { print " You are an Aquarius"; } # and so forth for the rest of the months... }