in reply to Why do I keep getting this error message?
unless ( $month && $year1 ) { # your error code here... } [download]