CHICAGO -- Felipe Lopez was simply trying to get on base when he hit his go-ahead homer.
"Games like these we have to find a way to win because the other team isn't going to let up," he said. "We've got to get as many wins as we can."
Lopez did his part by driving a 3-2 pitch from Brian Schlitter (0-1) over the right-field wall with two out in the 11th for his sixth homer of the season to put the Cardinals back in the NL Central lead, a half game ahead of Cincinnati.
The big hit came one day after Lopez was scratched from the starting lineup for reportedly arriving late to the ballpark. It also made a winner of closer Ryan Franklin (5-1), who pitched two innings.
"Today it was a great effort, so it was a great game to win, and if we'd lost that one, it would have been a tough one to take," manager Tony LaRussa said.
That's exactly how it was for the Cubs. They went 6-4 on their longest homestand of the season, and the way manager Lou Piniella sees it, "We should have been 9-1. The games we hit in, we won. The games we didn't, we lost."
Chicago scored two off Chris Carpenter in the fifth to take a 3-2 lead when Albert Pujols led off the sixth against Ryan Dempster with his 23rd homer. He barely missed a two-run shot in the seventh with a fly to the left-field warning track after Ryan Ludwick singled with two out.
"Guys pitched well out of the pen, it was back and forth, back and forth both sides, and we were able to come out on top," Carpenter said.
He and Dempster each gave up three runs and nine hits over seven shaky innings, and both teams wasted big opportunities late in the game.
The biggest chances came in the 10th. The Cardinals got one-out singles by Matt Holliday, Jon Jay and Skip Schumaker -- his fourth hit -- against Schlitter before Yadier Molina grounded into a double play to end the threat.
In the bottom half, Fukudome led off with a single to right against Franklin and got forced on Tyler Colvin's bouncer to the mound. Cubs fans booed, thinking the throw to second pulled shortstop Brendan Ryan off the bag, and Piniella came out for a mild argument.
Colvin then stole second and dove back to the base, barely beating the tag after the throw bounced toward center. Starlin Castro got hit in the left side, and after Derrek Lee popped out, Aramis Ramirez drove a hard one-hopper that Schumaker booted for an error.
That loaded the bases for Marlon Byrd, who struck out looking at a 1-2 pitch to end the inning.
"It was a great homestand," Lee said. "It would have been great to get this win and really set off the homestand. It didn't happen."
Now, as the Cubs begin a six-game trip, the question is: Is this a send-off? The non-waiver trade deadline is July 31, and several players could be trade candidates.
One possible candidate is pitcher Ted Lilly, whose name has surfaced in reports. He said the Cubs have kept him informed "to some degree."
"There's no guarantee," he said. "One thing that I can do is just prepare to pitch Tuesday."
Holliday has an 11-game hitting streak. ... The nine hits allowed tied a season-high for Dempster. ... Bobby Valentine would like to manage the Cubs. The ESPN analyst and former New York Mets and Texas Rangers manager said he's interested in taking over for the retiring Lou Piniella after this season. Valentine, who led the Mets to the pennant in 2000 and managed the Texas Rangers, called the Cubs job "one of the most coveted positions in all of sports" and added "anybody who thinks of himself as a manager would love to be considered as one of the people who might take his place." ... Carlos Zambrano will likely make one more appearance with Triple-A Iowa before rejoining the Chicago Cubs next weekend. Piniella said he'll probably return during their series at Colorado.