 He was educated at Williams College, Williamstown, as well as the universities of Berlin and Strasbourg.Perry taught at Williams from 1886 until 1893.He then taught at Princeton University, where he became acquainted with future US president Woodrow Wilson, Dean Andrew West, and former US President Grover Cleveland, about whom he wrote entertainingly in his autobiographical work, "And Gladly Teach".