The title comes from the first line of The Raven written by American writer Edgar Allan Poe and first published in January 1845. "Once upon a midnight dreary, while I pondered, weak and weary,
Over many a quaint and curious volume of forgotten lore..."
Barney asks Fred to go kegling with him, which is the German name for bowling.