Peel the carrots and grate them in a food processor fitted with the large grating attachment. If you lay the carrots on their sides in the feed tube, you will have nice long grated strands. Place the grated carrots in a large bowl and add the mayonnaise, pineapple, raisins, salt, and pepper. Toss well and season to taste. Serve chilled or at room temperature.