Dr. Doofenshmirtz is the main antagonist (and sometimes an anti-hero) in the popular animated Disney Channel series, Phineas and Ferb. Doofenshmirtz first appeared in the pilot episode of the series and since then has appeared in every episode. An incompetent and forgetful mad scientist, Doofenshmirtz is the primary villain of the series and the mastermind behind the B-Plot. His nemesis is Perry the Platypus, who foils almost all of his schemes, though a few turn out to be successfull. Doofenshmirtz's goal in life is to "take over the entire Tri-State Area" and attempts to do so with invention that tend to have -in actor as the suffix.