Perjury is lying, but lying isn't necessarily perjury.