But he had spent a glorious youth in Paris , mentored by Cocteau , Colette , Man Ray and Janet Flanner , the New Yorker columnist , and he drew on their work in his new job as literary editor of Harper 's Bazaar .