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