On linear and nonlinear single-error-correcting q-nary perfect codes

Vasiliev's method Vasiliev 1963 for the construction of linear and nonlinear, single error-correcting binary perfect codes is generalized to every prime power q.