Cavaillé Joseph, Dentiste à Perpignan