Clue: Who, for example, inverted degenerate set of principles endlessly? (6)
Answer: DOCTOR
Explanation: Definition: Who, for example
A reversal ('inverted') of ROT ('degenerate', verb) plus COD[e] ('set of principles') minus the last letter ('endlessly').