You are viewing the version of this documentation from Perl blead. This is the main development branch of Perl. (git commit 8d0a0f0974504e435af25375ea377417e4b8f237)
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.