Common modern versions include: Peter, Peter pumpkin eater, Had a wife but couldn't keep her; He put her in a pumpkin shell And there he kept her very well.
[1] The first surviving version of the rhyme was published in Infant Institutes, part the first: or a Nurserical Essay on the Poetry, Lyric and Allegorical, of the Earliest Ages, &c., in London around 1797.
[1] It also appears in Mother Goose's Quarto: or Melodies Complete, printed in Boston, Massachusetts around 1825.
[1] A verse collected from Aberdeen, Scotland and published in 1868 had the words: Peter, my neeper, Had a wife, And he couldna' keep her, He pat her i' the wa', And lat a' the mice eat her.
This verse is also considered to be an older version of the rhyme Eeper Weeper.