For a generations-old method, simmer 2 cups of milk until it bubbles, and then mix in one cup of sugar and ¼ cup of black ground pepper. Pour it into a bowl, place some plastic wrap over the top, and poke a few holes in it to ensure the fruit flies get in but can't get out again.