Nothing is worse than the spending a bundle of fresh fruits and veggies at a local farmers market only to throw out rotting produce just days later.
Before placing blame on the innocent produce, perhaps the problem is how you are storing it. Every vegetable and fruit is different, as they have different nutrients and vitamins in it each have to be stored at different temperatures and for limited number of days.
Once you understand about the time span of how much time needed to preserve the foods then it will surely prevent the rotting of vegetables and saves lot of money too.