This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Module::CoreList for 5.32.0
[perl5.git] / pod / perlexperiment.pod
index 0f1a907..2bf2e85 100644 (file)
@@ -9,293 +9,352 @@ core. Although all of these are documented with their appropriate topics,
 this succinct listing gives you an overview and basic facts about their
 status.
 
-So far I've merely tried to find and list the experimental features and infer
+So far we've merely tried to find and list the experimental features and infer
 their inception, versions, etc. There's a lot of speculation here.
 
 =head2 Current experiments
 
 =over 8
 
-=item fork() emulation
+=item Smart match (C<~~>)
 
-Introduced in Perl 5.6.1
+Introduced in Perl 5.10.0
 
-See also L<perlfork>
+Modified in Perl 5.10.1, 5.12.0
 
-=item Weak references
+Using this feature triggers warnings in the category
+C<experimental::smartmatch>.
 
-Introduced in Perl 5.6.0
+The ticket for this feature is
+L<[perl #13173]|https://github.com/Perl/perl5/issues/13173>.
 
-=item Internal file glob
+=item Pluggable keywords
 
-Introduced in Perl 5.6.0
+The ticket for this feature is
+L<[perl #13199]|https://github.com/Perl/perl5/issues/13199>.
 
-Accepted in XXX
+See L<perlapi/PL_keyword_plugin> for the mechanism.
 
-=item 64-bit support
+Introduced in Perl 5.11.2
 
-Introduced in Perl 5.005
+=item Regular Expression Set Operations
 
-Accepted in XXX
+Introduced in Perl 5.18
 
-=item die accepts a reference
+The ticket for this feature is
+L<[perl #13197]|https://github.com/Perl/perl5/issues/13197>.
 
-Introduced in Perl 5.005
+See also: L<perlrecharclass/Extended Bracketed Character Classes>
 
-Accepted in Perl XXX
+Using this feature triggers warnings in the category
+C<experimental::regex_sets>.
 
-=item Unicode support
+=item Subroutine signatures
 
-Introduced in Perl 5.6.0
+Introduced in Perl 5.20.0
 
-Accepted in Perl 5.8.0 XXX
+Using this feature triggers warnings in the category
+C<experimental::signatures>.
 
-=item -Dusemultiplicity -Duseithreads
+The ticket for this feature is
+L<[perl #13681]|https://github.com/Perl/perl5/issues/13681>.
 
-Introduced in Perl 5.6.0
+=item Aliasing via reference
 
-=item Long Doubles Still Don't Work In Solaris
+Introduced in Perl 5.22.0
 
-Introduced in Perl 5.7.0
+Using this feature triggers warnings in the category
+C<experimental::refaliasing>.
 
-=item GetOpt::Long Options can now take multiple values at once (experimental)
+The ticket for this feature is
+L<[perl #14150]|https://github.com/Perl/perl5/issues/14150>.
 
-C<Getopt::Long> upgraded to version 2.35
+See also: L<perlref/Assigning to References>
 
-Removed in Perl 5.8.8
+=item The "const" attribute
 
-=item 5.005-style threading
+Introduced in Perl 5.22.0
 
-Introduced in Perl 5.005
+Using this feature triggers warnings in the category
+C<experimental::const_attr>.
 
-Removed in Perl 5.10 XXX
+The ticket for this feature is
+L<[perl #14428]|https://github.com/Perl/perl5/issues/14428>.
 
-=item Test::Harness::Straps
+See also: L<perlsub/Constant Functions>
 
-Moved from Perl 5.10.1 to CPAN
+=item use re 'strict';
 
-=item perlcc
+Introduced in Perl 5.22.0
 
-Introduced in Perl 5.005
+Using this feature triggers warnings in the category
+C<experimental::re_strict>.
 
-Moved from Perl 5.9.0 to CPAN
+See L<re/'strict' mode>
 
-=item C<our> can now have an experimental optional attribute C<unique>
+=item The <:win32> IO pseudolayer
 
-Introduced in Perl 5.8.0
+The ticket for this feature is
+L<[perl #13198]|https://github.com/Perl/perl5/issues/13198>.
 
-Deprecated in Perl 5.10.0
+See also L<perlrun/PERLIO>
 
-=item Assertions
+=item Declaring a reference to a variable
 
-The C<-A> command line switch
+Introduced in Perl 5.26.0
 
-Introduced in Perl 5.9.0
+Using this feature triggers warnings in the category
+C<experimental::declared_refs>.
 
-Removed in Perl 5.9.5
+The ticket for this feature is
+L<[perl #15458]|https://github.com/Perl/perl5/issues/15458>.
 
-=item Linux abstract Unix domain sockets
+See also: L<perlref/Declaring a Reference to a Variable>
 
-Introduced in Perl 5.9.2
+=item There is an C<installhtml> target in the Makefile.
 
-See also L<Socket>
+The ticket for this feature is
+L<[perl #12726]|https://github.com/Perl/perl5/issues/12726>.
 
-=item L<Pod::HTML2Pod|Pod::HTML2Pod>
+=item (Limited) Variable-length look-behind
 
-=item L<Pod::PXML|Pod::PXML>
+Introduced in Perl 5.30.0.  Variability of up to 255 characters is
+handled.
 
-=item threads
+Using this feature triggers warnings in the category
+C<experimental::vlb>.
 
-=item The <:pop> IO pseudolayer
+See also: L<perlre/(*positive_lookbehind:I<pattern>)> and
+L<perlre/(*negative_lookbehind:I<pattern>)>
 
-See also L<perlrun>
+=back
 
-=item The <:win32> IO pseudolayer
+=head2 Accepted features
 
-See also L<perlrun>
+These features were so wildly successful and played so well with others that
+we decided to remove their experimental status and admit them as full, stable
+features in the world of Perl, lavishing all the benefits and luxuries thereof.
+They are also awarded +5 Stability and +3 Charisma.
 
-=item MLDBM
+=over 8
 
-See also L<perldsc>
+=item 64-bit support
 
-=item internal functions with M flag
+Introduced in Perl 5.005
 
-See also L<perlguts>
+=item die accepts a reference
 
-=item lex_start API
+Introduced in Perl 5.005
 
-Introduced in Perl 5.13.7
+=item DB module
 
-=item internal API for C<%H>
+Introduced in Perl 5.6.0
 
-Introduced in Perl 5.13.7
+See also L<perldebug>, L<perldebtut>
 
-See also C<cophh_> in L<perlapi>.
+=item Weak references
+
+Introduced in Perl 5.6.0
+
+=item Internal file glob
 
-=item av_create_and_push
+Introduced in Perl 5.6.0
 
-=item av_create_and_unshift_one
+=item fork() emulation
 
-=item av_create_and_unshift_one
+Introduced in Perl 5.6.1
 
-=item PL_keyword_plugin
+See also L<perlfork>
 
-=item hv_iternext_flags
+=item -Dusemultiplicity -Duseithreads
 
-=item lex_bufutf8
+Introduced in Perl 5.6.0
 
-=item lex_discard_to
+Accepted in Perl 5.8.0
 
-=item lex_grow_linestr
+=item Support for long doubles
 
-=item lex_next_chunk
+Introduced in Perl 5.6.0
 
-=item lex_peek_unichar
+Accepted in Perl 5.8.1
 
-=item lex_read_space
+=item The C<\N> regex character class
 
-=item lex_read_to
+The C<\N> character class, not to be confused with the named character
+sequence C<\N{NAME}>, denotes any non-newline character in a regular
+expression.
 
-=item lex_read_unichar
+Introduced in Perl 5.12
 
-=item lex_stuff_pv
+Exact version of acceptance unclear, but no later than Perl 5.18.
 
-=item lex_stuff_pvn
+=item C<(?{code})> and C<(??{ code })>
 
-=item lex_stuff_pvs
+Introduced in Perl 5.6.0
 
-=item lex_stuff_sv
+Accepted in Perl 5.20.0
 
-=item lex_unstuff
+See also L<perlre>
 
-=item parse_fullstmt
+=item Linux abstract Unix domain sockets
 
-=item parse_stmtseq
+Introduced in Perl 5.9.2
 
-=item PL_parser-E<gt>bufend
+Accepted before Perl 5.20.0.  The Socket library is now primarily maintained
+on CPAN, rather than in the perl core.
 
-=item PL_parser-E<gt>bufptr
+See also L<Socket>
 
-=item PL_parser-E<gt>linestart
+=item Lvalue subroutines
 
-=item PL_parser-E<gt>linestr
+Introduced in Perl 5.6.0
 
-=item Perl_signbit
+Accepted in Perl 5.20.0
 
-=item pad_findmy
+See also L<perlsub>
 
-=item sv_utf8_decode
+=item Backtracking control verbs
 
-=item sv_utf8_downgrade
+C<(*ACCEPT)>
 
-=item bytes_from_utf8
+Introduced in Perl 5.10
 
-=item bytes_to_utf8
+Accepted in Perl 5.20.0
 
-=item utf8_to_bytes
+=item The <:pop> IO pseudolayer
 
-=item DB module
+See also L<perlrun/PERLIO>
 
-Introduced in Perl 5.6.0
+Accepted in Perl 5.20.0
 
-See also L<perldebug>, L<perldebtut>
+=item C<\s> in regexp matches vertical tab
 
-=item The pseudo-hash data type
+Accepted in Perl 5.22.0
 
-Introduced in Perl 5.6.0
+=item Postfix dereference syntax
 
-=item Lvalue subroutines
+Introduced in Perl 5.20.0
 
-Introduced in Perl 5.6.0
+Accepted in Perl 5.24.0
 
-See also L<perlsub>
+=item Lexical subroutines
 
-=item There is an C<installhtml> target in the Makefile.
+Introduced in Perl 5.18.0
 
-=item Unicode in Perl on EBCDIC
+Accepted in Perl 5.26.0
 
-=item C<(?{code})>
+=item String- and number-specific bitwise operators
 
-See also L<perlre>
+Introduced in Perl 5.22.0
 
-=item C<(??{ code })>
+Accepted in Perl 5.28.0
 
-See also L<perlre>
+=item Alphabetic assertions
 
-=item Backtracking control verbs
+Introduced in Perl 5.28.0
 
-C<(*ACCEPT)>
+Accepted in Perl 5.32.0
 
-Introduced in: Perl 5.10
+=item Script runs
 
-See also: L<perlre/"Special Backtracking Control Verbs">
+Introduced in Perl 5.28.0
 
-=item Code expressions, conditional expressions, and independent expressions in regexes
+Accepted in Perl 5.32.0
 
+=back
 
-=item gv_try_downgrade
+=head2 Removed features
 
-See also L<perlintern>
+These features are no longer considered experimental and their functionality
+has disappeared. It's your own fault if you wrote production programs using
+these features after we explicitly told you not to (see L<perlpolicy>).
 
-=item Experimental Support for Sun Studio Compilers for Linux OS
+=over 8
 
-See also L<perllinux>
+=item 5.005-style threading
 
-=item Pluggable keywords
+Introduced in Perl 5.005
 
-See L<perlapi/PL_keyword_plugin> for the mechanism.
+Removed in Perl 5.10
 
-Introduced in: Perl 5.11.2
+=item perlcc
 
-=item Lexical subroutines
+Introduced in Perl 5.005
 
-Introduced in: Perl 5.18
+Moved from Perl 5.9.0 to CPAN
 
-See also: L<perlsub/Lexical Subroutines>
+=item The pseudo-hash data type
 
-=back
+Introduced in Perl 5.6.0
 
-=head2 Accepted features
+Removed in Perl 5.9.0
 
-These features were so wildly successful and played so well with others that
-we decided to remove their experimental status and admit them as full, stable
-features in the world of Perl, lavishing all the benefits and luxuries thereof. 
-They are also awarded +5 Stability and +3 Charisma.
+=item GetOpt::Long Options can now take multiple values at once (experimental)
 
-=over 8
+C<Getopt::Long> upgraded to version 2.35
 
-=item The C<\N> regex character class
+Removed in Perl 5.8.8
 
-The C<\N> character class, not to be confused with the named character
-sequence C<\N{NAME}>, denotes any non-newline character in a regular
-expression.
+=item Assertions
 
-Introduced in: Perl 5.12
+The C<-A> command line switch
 
-=back
+Introduced in Perl 5.9.0
 
-=head2 Removed features
+Removed in Perl 5.9.5
 
-These features are no longer considered experimental and their functionality
-has disappeared. It's your own fault if you wrote production programs using
-these features after we explicitly told you not to (see L<perlpolicy>).
+=item Test::Harness::Straps
 
-=over 8
+Moved from Perl 5.10.1 to CPAN
 
 =item C<legacy>
 
 The experimental C<legacy> pragma was swallowed by the C<feature> pragma.
 
-Introduced in: 5.11.2
+Introduced in Perl 5.11.2
+
+Removed in Perl 5.11.3
+
+=item Lexical C<$_>
+
+Using this feature triggered warnings in the category
+C<experimental::lexical_topic>.
+
+Introduced in Perl 5.10.0
+
+Removed in Perl 5.24.0
+
+=item Array and hash container functions accept references
+
+Using this feature triggered warnings in the category
+C<experimental::autoderef>.
+
+Superseded by L</Postfix dereference syntax>.
+
+Introduced in Perl 5.14.0
 
-Removed in: 5.11.3
+Removed in Perl 5.24.0
+
+=item C<our> can have an experimental optional attribute C<unique>
+
+Introduced in Perl 5.8.0
+
+Deprecated in Perl 5.10.0
+
+Removed in Perl 5.28.0
 
 =back
 
+=head1 SEE ALSO
+
+For a complete list of features check L<feature>.
+
 =head1 AUTHORS
 
 brian d foy C<< <brian.d.foy@gmail.com> >>
 
+SE<eacute>bastien Aperghis-Tramoni C<< <saper@cpan.org> >>
+
 =head1 COPYRIGHT
 
 Copyright 2010, brian d foy C<< <brian.d.foy@gmail.com> >>