Pineapples and pears can be jack-o’-lanterns, too.