Pumpkins are a popular choice for Halloween decorations, but the high water content of the gourd means they can go off quickly. A food expert has shared a hack to keep them fresh for longer