Skip to content

Add some missing bits in features documentation: class, keyword_any, keyword_all #23438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: blead
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,7 @@ Mattia Barbon <[email protected]>
Maurizio Loreti <[email protected]>
Max Baker <[email protected]>
Max Maischein <[email protected]>
Maxim Vuets <[email protected]>
Maxwell Carey <[email protected]>
Merijn Broeren <[email protected]>
Michael A Chase <[email protected]>
Expand Down
8 changes: 7 additions & 1 deletion lib/feature.pm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions pod/perlexperiment.pod
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,18 @@ example:
The ticket for this experiment is
L<[perl #19765]|https://github.com/Perl/perl5/issues/19765>.

=item New object system and C<class> syntax

Introduced in Perl 5.37.9.

Using this feature triggers warnings in the category C<experimental::class>.

This feature enables the new object system and its associated keywords
C<class>, C<field>, C<method>.

The ticket for this experiment is
L<[perl #22139]|https://github.com/Perl/perl5/issues/22139>.

=item C<any> and C<all> list processing operators

Introduced in Perl 5.41.7.
Expand Down
8 changes: 7 additions & 1 deletion regen/feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ sub longest {

__END__
package feature;
our $VERSION = '1.98';
our $VERSION = '1.99';

FEATURES

Expand Down Expand Up @@ -1067,6 +1067,8 @@ =head2 The 'class' feature
This feature enables the C<class> block syntax and other associated keywords
which implement the "new" object system, previously codenamed "Corinna".

This feature is available starting in Perl 5.38.

=head2 The 'apostrophe_as_package_separator' feature

This feature enables use C<'> (apostrophe) as an alternative to using
Expand All @@ -1091,6 +1093,8 @@ =head2 The 'keyword_any' feature
This allow testing whether any of the values in a list satisfy a given
condition, with short-circuiting behaviour as soon as it finds one.

This feature is available starting in Perl 5.42.

=head2 The 'keyword_all' feature

B<WARNING>: This feature is still experimental and the implementation may
Expand All @@ -1104,6 +1108,8 @@ =head2 The 'keyword_all' feature
condition, with short-circuiting behaviour as soon as it finds one that does
not.

This feature is available starting in Perl 5.42.

=head1 FEATURE BUNDLES

It's possible to load multiple features together, using
Expand Down
Loading