@@ -265,6 +265,7 @@ L<C<last>|/last LABEL>, L<C<__LINE__>|/__LINE__>,
265265L<C<next>|/next LABEL>, L<C<__PACKAGE__>|/__PACKAGE__>,
266266L<C<redo>|/redo LABEL>, L<C<return>|/return EXPR>,
267267L<C<sub>|/sub NAME BLOCK>, L<C<__SUB__>|/__SUB__>,
268+ L<C<method>|/method NAME BLOCK>,
268269L<C<wantarray>|/wantarray>
269270
270271L<C<break>|/break> is available only if you enable the experimental
@@ -295,7 +296,8 @@ current scope.
295296
296297L<C<caller>|/caller EXPR>, L<C<import>|/import LIST>,
297298L<C<local>|/local EXPR>, L<C<my>|/my VARLIST>, L<C<our>|/our VARLIST>,
298- L<C<package>|/package NAMESPACE>, L<C<state>|/state VARLIST>,
299+ L<C<package>|/package NAMESPACE>, L<C<class>|/class NAMESPACE>,
300+ L<C<field>|/field VARNAME>, L<C<state>|/state VARLIST>,
299301L<C<use>|/use Module VERSION LIST>
300302
301303L<C<state>|/state VARLIST> is available only if the
@@ -345,7 +347,9 @@ X<object> X<class> X<package>
345347
346348L<C<bless>|/bless REF,CLASSNAME>, L<C<dbmclose>|/dbmclose HASH>,
347349L<C<dbmopen>|/dbmopen HASH,DBNAME,MASK>,
348- L<C<package>|/package NAMESPACE>, L<C<ref>|/ref EXPR>,
350+ L<C<package>|/package NAMESPACE>, L<C<class>|/class NAMESPACE>,
351+ L<C<field>|/field VARNAME>, L<C<method>|/method NAME BLOCK>,
352+ L<C<ref>|/ref EXPR>,
349353L<C<tie>|/tie VARIABLE,CLASSNAME,LIST>, L<C<tied>|/tied VARIABLE>,
350354L<C<untie>|/untie VARIABLE>, L<C<use>|/use Module VERSION LIST>
351355
@@ -427,6 +431,7 @@ L<C<time>|/time>, L<C<times>|/times>
427431=for Pod::Functions =!Non-functions
428432
429433C<and>,
434+ C<ADJUST>,
430435C<AUTOLOAD>,
431436C<BEGIN>,
432437C<catch>,
@@ -1278,6 +1283,21 @@ may be outside of the new root.
12781283
12791284Portability issues: L<perlport/chroot>.
12801285
1286+ =item class NAMESPACE
1287+
1288+ =item class NAMESPACE VERSION
1289+
1290+ =item class NAMESPACE BLOCK
1291+
1292+ =item class NAMESPACE VERSION BLOCK
1293+
1294+ =for Pod::Functions declare a separate global namespace that is an object class
1295+
1296+ Declares the BLOCK or the rest of the compilation unit as being in the given
1297+ namespace, which implements an object class. This behaves similarly to
1298+ L<C<package>/package NAMESPACE>, except that the newly-created package behaves
1299+ as a class.
1300+
12811301=item close FILEHANDLE
12821302X<close>
12831303
@@ -2749,6 +2769,15 @@ A special token that returns the name of the file in which it occurs.
27492769It can be altered by the mechanism described at
27502770L<perlsyn/"Plain Old Comments (Not!)">.
27512771
2772+ =item field VARNAME
2773+ X<field>
2774+
2775+ =for Pod::Functions declare a field variable of the current class
2776+
2777+ Declares a new field variable within the current class. Methods and
2778+ L<C<ADJUST>/BLOCK> blocks of the class will have access to this variable as
2779+ if it was a lexical in scope at that point.
2780+
27522781=item fileno FILEHANDLE
27532782X<fileno>
27542783
@@ -4313,6 +4342,16 @@ or to force an anon hash constructor use C<+{>:
43134342
43144343to get a list of anonymous hashes each with only one entry apiece.
43154344
4345+ =item method NAME BLOCK
4346+ X<method>
4347+
4348+ =item method NAME : ATTRS BLOCK
4349+
4350+ =for Pod::Functions declare a method of a class
4351+
4352+ Creates a new named method in the scope of the class that it appears within.
4353+ This is only valid inside a L<C<class>/class NAMESPACE> declaration.
4354+
43164355=item mkdir FILENAME,MODE
43174356X<mkdir> X<md> X<directory, create>
43184357
@@ -10571,4 +10610,12 @@ documented in L<perlsyn/"defer blocks">.
1057110610
1057210611=back
1057310612
10613+ =over
10614+
10615+ =item ADJUST
10616+
10617+ This class-related phaser block is documented in L<perlclass>.
10618+
10619+ =back
10620+
1057410621=cut
0 commit comments