`` dead poets society , '' the story of an inspirational boarding-school teacher played by robin williams , beat `` my left foot , '' `` shirley valentine '' and `` when harry met sally '' for the best film award .