The Ducks have won 11 of their last 15 in a bid to save their season. Anaheim is still eight points out of a playoff position. The Hurricanes missed out on a chance to win three in a row for the first time since October.
Anaheim did not lead until Perry's blast gave him his 23rd goal of the season.
Tuomo Ruutu scored for Carolina with 2:03 left in the opening period, but Anaheim tied it on Nick Bonino's tip-in late in the second.
Jonas Hiller stopped 31 shots to get the win. Ward also had 31 saves.
Jessica Simpson shares three-way kiss with friends in photo
Teacher apologizes for showing sexual image of herself in class