You can't
EDIT: Well, not entirely true. You can't can foods, though praying to Mellis can fill up to 5 empty cans with random foodstuffs. However you can also zap rottable items with a wand of slow, which causes them to rot much more slowly. (You can also zap them with a wand of haste, if you want them to rot away really fast.)