If you think your carving is going to take a while (more than one day) don't cut the pumpkin open and clean it out right away. You can do a lot of the major carving before you'll need to test it with a light and the pumpkin will last longer. The downside is that the pumpkin will be heavier and the stem might get in the way (which you do not want to damage).