my @ab = ("a", "b"); my $c = "c"; my @abc = ("a", "b", "c"); testfunktion(@ab, $c); testfunktion(@abc);