User blog comment:Bowser101/favorite P&F couples (WARNING: any wars and yer gonna get it!)/@comment-106029-20100211231136

Doofenshmirtz doesn't recognize Perry without his fedora anyway, if he saw Perry with Ferb he likely wouldn't recognize him anyway. Perry on the other hand realizes that Vanessa isn't evil and thus would feel no threat there