How to deter pill bugs?

Donna Posts: 21 ✭✭✭

I just planted some really healthy bean seedlings out and overnight most of them were destroyed, something eating their stems nearly clean through. Now after 48 hours they have all been destroyed, and this morning I caught the perpetrators in the act. Pill bugs. These were very tiny baby ones. As we don't have many earth worms here normally the pill bugs are an important composter, and there is an extremely abundant population of them. But unfortunately they are destroying some of my veggies.

Does anyone know of, and especially have experience with any natural deterrents to clear them out of a garden bed? All my plants are in beds or containers if that makes a difference.