Before he became a writer, he was a spy and a fighter pilot in World War II. One of his first moments of inspiration came when he was at boarding school, when a local chocolate factory invited pupils to trial new chocolate bars - 35 years later, Charlie and the Chocolate Factory was published.