"The Walrus and the Carpenter" is a narrative poem by Lewis Carroll that appeared in his book Through the Looking-Glass, published in December 1871. The poem is recited in chapter four, by Tweedledum and Tweedledee to Alice. The poem is composed of 18 stanzas and contains 108 lines, in an alternation of iambic trimeters and iambic tetrameters. The rhyme scheme is ABCBDB, and masculine rhymes appear frequently. The rhyming and rhythmical scheme used, as well as some archaisms and syntactical turns, are those of the traditional English ballad.
The Walrus and the Carpenter are the eponymous characters in the poem, which is recited by Tweedledum and Tweedledee to Alice. Walking upon a beach one night when both sun and moon are visible, the Walrus and Carpenter come upon an offshore bed of oysters, four of whom they invite to join them. To the disapproval of the eldest oyster, many more follow them. After walking along the beach (a point is made of the fact that the oysters are all neatly shod despite having no feet), the two main characters are revealed to be predatory and eat all of the oysters. After hearing the poem, the good-natured Alice attempts to determine which of the two leading characters might be the more sympathetic, but is thwarted by the twins' further interpretation: "I like the Walrus best," said Alice, "because you see he was a little sorry for the poor oysters."
"He ate more than the Carpenter, though," said Tweedledee. "You see he held his handkerchief in front, so that the Carpenter couldn't count how many he took: contrariwise."
"That was mean!" Alice said indignantly. "Then I like the Carpenter best—if he didn't eat so many as the Walrus."
"But he ate as many as he could get," said Tweedledum.
This was a puzzler. After a pause, Alice began, "Well! They were both very unpleasant characters—"