$tesing = 1; . . print "At second 'if' in do-loop, \$target_name is $target_name" if ($testing); . .