Before Alex Gordon's walk and Perez's game-winning single in the 10th inning, the fourth walk-off RBI of his career and second in two weeks, it was Mondesi's two-out walk and two steals that set the stage for the Kansas City Royals' 2-1 victory over the Cleveland Indians on Thursday night.
"His aggressiveness was great, but also his patience was fantastic in that last at-bat," Royals manager Ned Yost said. "You kept thinking, `OK, if you get on, the chances of us winning this game are going to be great, even with two outs,' because you know -- boom -- he's going to put himself in scoring position and we're just a hit away."
Neil Ramirez (0-3), who retired the first two hitters in the 10th, tried to get Mondesi to chase a full-count slider down and in.
Mondesi laid off the pitch, then reached 30 steals in 72 games played this season after swiping second and third.
A year ago, Mondesi probably hacks away and the teams may still be playing.
"It just shows you his growth and how far he's come, because last year that was an automatic swing 3-2 for a strikeout," Yost said. "He's made tremendous strides there."
Mondesi also hit his 13th home run for the Royals (57-102) -- no longer in danger of matching the franchise record of 106 losses, set in 2005 -- and made a game-saving defensive play in the eighth inning.
The Indians had runners at second and third with two outs when Yandy Diaz chopped a slow roller between third baseman Hunter Dozier and Mondesi, who made a quick scoop and an off-balance throw to get a diving Diaz.
"We practice on that every day," Mondesi said of throwing across his body, "so when it comes in the game it's a lot easier for us."
Yost was more effusive about the play.
"That is a play in that situation that very few shortstops are going to make, because it does require such athleticism, such range and such arm strength to be able to complete that play," Yost said.
Jason Hammel (4-14) worked a scoreless 10th, one of five relievers the Royals used in five scoreless innings from the bullpen.
The AL Central champion Indians (89-70), who are locked into an AL Divisional Series matchup beginning next week with the reigning world champion Houston Astros, got their only run in the first.
Josh Tomlin pitched well for the Indians in his final audition for a postseason roster spot. He went 4 2/3 innings, allowing Mondesi's only homer in the third with five strikeouts and no walks.
"I've finally gotten to the point where I know what my body's going to do," Tomlin said. "I'm not trying to force the issue. I'm just out there throwing, playing catch. It seems like I'm just playing catch."
Tomlin, who has a 6.14 ERA this season, remains a longshot for the ALDS roster, but manager Terry Francona was encouraged by what he saw.
"One cutter for the solo homer, kind of came across the plate, but other than that he spun the ball good," Francona said. "I thought his cutter was as crisp as we've seen. He got some kind of funky swings with it and stayed off the barrel."
Greg Allen has 21 steals after swiping second and third in the 10th inning. That gives the Indians four players -- Jose Ramirez (34), Francisco Lindor (23), Rajai Davis (21) and Allen (21) -- with at least 20 steals in a season for the first time since 1911, when the franchise was still called the Naps. "It's something that we believe in and can help us make a difference," Francona said. "That's sometimes something that gets overlooked, and we certainly don't want to."
Royals: The Royals are healthy except for four players on the long-term disabled list -- 3B Cheslor Cuthbert (strained lower back), OF Jorge Soler (fractured toe), RHP Jesse Hahn (elbow surgery) and RHP Nate Karns (elbow inflammation). LHP Danny Duffy (shoulder inflammation) also has been shut down for the season.
Indians: INF Erik Gonzalez entered the concussion protocol after getting hit in the head by a pitch against the White Sox on Wednesday. Francona said Gonzalez experienced some nausea after getting beaned, but "is doing much, much better." Gonzalez traveled with the team but there is no timetable for his return. ... 1B Yonder Alonso got the day off. ... Francona said OF Michael Brantley, who left Tuesday's game after fouling a pitch off his right calf and then returned to the lineup Wednesday, sat for his regular day off and has no lingering effects.
More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP-Sports
Law: Michael Brantley, Wilson Ramos fill needs for Astros, Mets
Michael Brantley can fill the DH role for the Astros, while the Mets didn't have to gut their farm system in landing catcher Wilson Ramos.
Yankees officially ink J.A. Happ; is Manny Machado next?
Bringing back a 36-year-old pitcher wasn't everything Bombers fans were wishing for. Machado -- and maybe another arm -- joining Happ would make the season bright.
With demand down, Boston might be Craig Kimbrel's best bet
In the same way the Red Sox held out for J.D. Martinez in a crowded market, they could do the same for their free-agent closer.
The state of the starting pitching market
A look at who is still available in free agency, who could be involved in a trade, and the teams that could use a rotation upgrade.
Houston Astros reach two-year deal with Michael Brantley
Michael Brantley adds a needed left-handed presence to the middle of the Astros' lineup, which is heavily right-handed with key cogs Jose Altuve, Alex Bregman, Carlos Correa and George Springer.
CC Sabathia gets $500,000 bonus despite falling short of mark
The New York Yankees gave pitcher CC Sabathia a $500,000 performance bonus, even though the 38-year-old left-hander was ejected from his final regular-season start six outs shy of the 155 innings specified in his contract for the payment.