my $month = $cgi->param('month'); # You are using CGI or CGI::Simple, are you not? # now do whatever you want with that $month