Green’s Dictionary of Slang

caper v.1

[SE caper, to dance or leap in a frolicsome manner]

to be hanged.

[Ire] ‘De Kilmainham Minit’ in Luke Caffrey’s Gost 7: Pads foremost he div’ed, and den round, / He caper’d de Kilmainham Minit.