Compost piles can provide daytime hiding places for slugs who may graze in gardens at night, and their eggs may be spread with finished compost. To avoid this, remove the slugs and slug eggs (eggs look like very small clusters of clear or white pearls). Place compost piles in areas away from vegetable gardens or create barriers (traps, copper flashing, etc.) around the pile to contain slugs.