Walt Whitman's changing perceptions of the effects of the American Civil War and its impact on his poetry