@thismonth = qw( $jandays $febdays $mardays $aprdays ... # you obviously meant: @thismonth = ($jandays,$febdays,$mardays,$aprdays, ...