Rochdale assistant manager Chris Beech was delighted with what he described as a "vital" 2-1 victory at Morecambe.
Two second-half goals set the visitors up for a victory that sees them climb up to third place and move four points clear of the Shrimps at the top end of the League Two table.
Beech said: "It was a vital three points for us because it puts a bit of light between us and Morecambe and also sees us get back to winning ways after two defeats in the league.
"We knew Morecambe would have a go on their home pitch and put us under a lot of pressure but we prepared well and everything went to plan.
"We always looked comfortable in the first half and at the break knew that if we kept them quiet we could go on an win the game and we did just that.
"We have lost a couple of games in the league, which has been a blow, and we knew this was going to be a difficult game against a Morecambe side who have done really well this year and were right on our tails. So to get the win was excellent.
"We had some excellent individual performances all round. I thought Scott Hogan was excellent and Graham Cummins did the ugly stuff well up front and things worked well for us.
"We do believe we are going in the right direction but we also believe there is a lot more to come from this team yet and this win keeps us where we want to be.
"The only disappointment was that we gave them a glimmer of hope by conceding a late goal because it meant there were a few nervous moments in the final few minutes but overall I thought we thoroughly deserved the win."
Mark Hughes' own goal and a strike from Hogan gave Keith Hill's Dale outfit all three points.
Morecambe hit back courtesy of Padraig Amond's well-taken goal a minute from time but it proved too little, too late for Jim Bentley's side, who suffered a third defeat in four league games.