I cut out the %answers = $query->cookie('STOREID') and change my variable to be my $first = $query->cookie(-name=>'STOREID') and it's fine!! :) WOW What a nightmare!! Later!