my $kundenrs = $db->resultset('Kunde');    while (my $test = $kundenrs->next) {      print $test->name .', '. $test->vorname. "\n";    }