Perez agreed to a contract with the Giants on Sunday, Chris Cotillo of The Springfield Republican reports.

Perez played in just 21 games for Pittsburgh last season before he ruptured his right hamstring and underwent season-ending surgery. The 34-year-old could open 2023 by splitting playing time with Joey Bart, who had a .660 OPS in his first full season as a starter behind the plate last year.