Purgery sounds like making oneself or someone else throw up.
Perjury, as bythebay said, is a criminal offense. From CriminalDefenseLawyer:
“When facing a subpoena to testify in a court of law, individuals issuing false statement under oath or affirmation face perjury penalty charges and crimes. Many individuals highly underestimate the potential damage a perjury conviction can bring to themselves and others. In fact, according to Federal prosecutors in 2008, the perjury penalty for convicted persons is up to five years in prison. State and local court cases also offer similarly staunch penalties for those attempting to subvert the sanctity of the courts.”
Emphasis mine.