You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit 36ebeab402cb67d1fe1bedd2f46620508ba52bf3)
field VARNAME

Declares a new field variable within the current class. Methods and ADJUST blocks of the class will have access to this variable as if it was a lexical in scope at that point.