Martín Pérez threw five scoreless innings and the Atlanta Braves beat Detroit 5-2 for their 11th win in their last 13 games.