No person shall be deemed incompetent or otherwise disqualified as a witness in any criminal proceeding by reason of the person's having been convicted of perjury or subornation of or solicitation to commit perjury, but such conviction may be shown for the purpose of affecting the person's credibility.
42 Pa.C.S. § 5912