Salvador Perez was in the lineup against the Yankees barely a month after surgery to repair a torn ligament in his left thumb.