while (my $a = ) { my $b = ; # do something with $a and $b }