You are viewing the version of this documentation from Perl 5.41.5. This is a development version of Perl.
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.