Sentence:  It was this <WSD>carrot and stick</WSD> discipline to which Mr. John Mill was subjected, and which he accepted dutifully as flowing from that perfect wisdom of which up to this time his father had been the representative. 
Meaning of the word marked with <WSD> tags:  Simultaneous rewards for good behavior and punishments for bad behavior.