You are viewing the version of this documentation from Perl 5.38.0-RC2. This is a development version of Perl.

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.