Any person who falsely, willfully, and corruptly swears out an affidavit as provided for in § 38-5-101 shall be deemed guilty of perjury, and punished as provided for by law for the offense, and in addition to the penalty provided by law for perjury, shall be taxed with all the costs incidental to the inquisition, based upon the false and corrupt affidavit.