The Brewers tagged Liriano for five runs on five hits in the third inning to open a 7-2 lead.
Peralta (9-14) allowed three runs on nine hits in six innings, striking out six and walking one.
Pirates All-Star Jason Grilli, who had been sidelined with a right forearm strain, pitched the eighth for his first appearance since July 22.
ROCKIES 7, DODGERS 5
DENVER (AP) — Jorge De La Rosa pitched six strong innings to win his sixth consecutive decision, Todd Helton homered and the Rockies snapped the Dodgers' six-game winning streak with a victory.
De La Rosa (16-6) allowed two runs and six hits in matching his career high for wins in a season and tying Washington's Jordan Zimmermann for most wins in the National League. De La Rosa went 16-9 in 2009 for the Rockies.
Colorado built an early lead off Edinson Volquez, who was making his first start for Los Angeles after being signed last week by the Dodgers following his release by San Diego.
Volquez (9-11) allowed four runs and six hits in four innings in falling to 0-5 in six starts against Colorado this season.
METS 5, BRAVES 2
ATLANTA (AP) — Lucas Duda had three hits, including a home run, and Andrew Brown added a towering two-run shot to lead Dillon Gee and the Mets to a win over the Braves.
Gee (11-9) cruised after he was given a 5-0 lead in the third. The right-hander allowed one run on four hits in seven innings.
Freddie Freeman homered off Mets reliever Vic Black with two outs in the eighth.
The Mets had 12 hits, including 11 in only 4 1-3 innings against Kameron Loe (0-2), who made his first start in the majors since 2007. He filled in for Julio Teheran, who was given a rest — a possible sign of things to come this month as the Braves move closer to the postseason.