hi,

i am new to perl code.i need to convert perl to vb code.the for loop in perl is

Code:
sub score
{
	my $score = 0;
	my $case = $_[0];
	my @casevalues = split /\t/, $case;
	my ($c, $v) = 0;
	for ($c=0;$c<scalar(@vars)-1;$c++)
	{
		for ($v=$c+1;$v<scalar(@vars);$v++)
		{
			$score++ if (${$pairs{"$c-$v"}}{$casevalues[$c]."-".$casevalues[$v]} == 0);
		}
	}
	return $score;
}

how to convert this loop to vb ??