in the spin-off milo murphy’s law, perry’s boss major monogram has him sent to dr. doofenshmirtz to stop doof from accidentally causing problems while trying to be good. only for doofenshmirtz to find out and be angry with perry because “you’re not my friend, you’re my babysitter”. though in the series finale, dr. doofenshmirtz forgives perry after finding out perry spent all the money he was making on helping pay for dr. doofenshmirtz to invent time travel and become professor time.