Milwaukee's Ryan Braun, Hernan Perez and Travis Shaw each homered.