And Doctor Perennial just stood there and when the evil drill sergeant woke up in him once again, he received an SMs.  
( And ( ( ( ( ( Doctor Perennial ) ( just ( stood there ) ) ) and ) ( ( when ( ( the ( evil ( drill sergeant ) ) ) ( ( woke ( up ( in him ) ) ) ( once again ) ) ) ) ( , ( he ( received ( an SMs ) ) ) ) ) ) . ) )
(ROOT (S (CC And) (S (NP (NNP Doctor) (NNP Perennial)) (ADVP (RB just)) (VP (VBD stood) (ADVP (RB there)))) (CC and) (S (SBAR (WHADVP (WRB when)) (S (NP (DT the) (JJ evil) (NN drill) (NN sergeant)) (VP (VBD woke) (ADVP (RB up) (PP (IN in) (NP (PRP him)))) (ADVP (RB once) (RB again))))) (, ,) (NP (PRP he)) (VP (VBD received) (NP (DT an) (NN SMs)))) (. .)))
Doctor Perennial was standing when the evil drill sergeant woke up. 
( ( Doctor Perennial ) ( ( was ( standing ( when ( ( the ( evil ( drill sergeant ) ) ) ( woke up ) ) ) ) ) . ) )
(ROOT (S (NP (NNP Doctor) (NNP Perennial)) (VP (VBD was) (VP (VBG standing) (SBAR (WHADVP (WRB when)) (S (NP (DT the) (JJ evil) (NN drill) (NN sergeant)) (VP (VBD woke) (PRT (RP up))))))) (. .)))