section 136(1)


136(1) Every one who, being a witness in a judicial proceeding, gives evidence with respect to any matter of fact or knowledge and who subsequently, in a judicial proceeding, gives evidence that is contrary to his previous evidence is guilty of an indictable offence and liable to imprisonment for a term not exceeding fourteen years, whether or not the prior or later evidence or either is true, but no person shall be convicted under this section unless the court, judge or provincial court judge, as the case may be, is satisfied beyond a reasonable doubt that the accused, in giving evidence in either of the judicial proceedings, intended to mislead.