<P> Perry the Platypus (vocal effects by Dee Bradley Baker), a.k.a. Agent P, is Phineas and Ferb's pet platypus and first appeared along with a large portion of the main cast in the pilot episode "Rollercoaster ." Perry is featured as the star of the B - Plot for all but one episode of the series alongside his arch - nemesis Dr. Heinz Doofenshmirtz . In the end, he pretends to destroy Phineas and Ferb's creations . He is a primarily silent character, with the only noises being the occasional rattling of his bill . </P> <P> In Phineas and Ferb the Movie: Across the 2nd Dimension, an alternate reality (yet more evil and ruthless) version of Perry (known as Platyborg) appears . Platyborg would later return in the episode sequel, Tales from the Resistance: Back to the 2nd Dimension . </P> <P> Dr. Heinz Doofenshmirtz (voiced by Dan Povenmire) is a mad scientist appearing in all but one episode's B - Plots thus far . He is the father to teenage Vanessa Doofenshmirtz and is the head of his own company, Doofenshmirtz Evil Inc . Depending on the episode, Dr. Doofenshmirtz's main goal is to either destroy or rule the Tri-State Area which was suggested to him as a starting point before trying to take over the world . Routinely bumbling, incompetent, and forgetful, almost all of Doofenshmirtz's plans--always involving various gadgets and inventions--have been thwarted by Perry the Platypus . However, a few of his schemes were quite successful, such as in the 2014 special Phineas and Ferb Save Summer when Doofenshmirtz moved the Earth away from its original orbit to bring on an early autumn, much to Perry's distress . After most defeats, he shouts his catchphrase, "Curse you, Perry the Platypus!" </P> <P> His contraptions are almost all named "(something) - inator", and in "Unfair Science Fair" it is revealed that his first invention as a child was simply called "Inator". </P>

What is the evil guy's name in phineas and ferb