Cardinals shortstop Jhonny Peralta will be out until June at the earliest after having surgery to repair a torn ligament in his left thumb.