Perjury is popularly conceived as simply giving false evidence under oath, whatever the nature of that evidence, however trivial or peripheral to the case being examined.
In Scots Law, perjury is more narrowly defined than that.