Perez signed with the Diamondbacks as a non-roster invitee Monday, Steve Gilbert of MLB.com reports.

The 40-year-old lefty is looking to spend his 20th career season in the majors. He threw just 3.2 scoreless innings for Cleveland last season before heading to Mexico to pitch for Toros de Tijuanam where he posted a 38.0 percent strikeout rate and a 2.63 ERA in 24 innings of work. He should have a shot to carve out a role in the Arizona bullpen, though it's unlikely to be a high-leverage one.