This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta: Note that utf8_hop_safe is for XS code
[perl5.git] / pod / perlexperiment.pod
index 754eb4e..5e734b6 100644 (file)
@@ -16,37 +16,14 @@ their inception, versions, etc. There's a lot of speculation here.
 
 =over 8
 
-=item -Dusemultiplicity -Duseithreads
-
-Introduced in Perl 5.6.0
-
-=item C<(?{code})> and C<(??{ code })>
-
-Introduced in Perl 5.6.0
-
-See also L<perlre>
-
-=item Lvalue subroutines
-
-Introduced in Perl 5.6.0
-
-See also L<perlsub>
-
-=item Long Doubles Still Don't Work In Solaris
-
-Introduced in Perl 5.7.0
-
 =item C<our> can now have an experimental optional attribute C<unique>
 
 Introduced in Perl 5.8.0
 
 Deprecated in Perl 5.10.0
 
-=item Linux abstract Unix domain sockets
-
-Introduced in Perl 5.9.2
-
-See also L<Socket>
+The ticket for this feature is
+L<[perl #119313]|https://rt.perl.org/rt3/Ticket/Display.html?id=119313>.
 
 =item Smart match (C<~~>)
 
@@ -57,214 +34,226 @@ Modified in Perl 5.10.1, 5.12.0
 Using this feature triggers warnings in the category
 C<experimental::smartmatch>.
 
-=item Lexical C<$_>
-
-Introduced in Perl 5.10.0
-
-Using this feature triggers warnings in the category
-C<experimental::lexical_topic>.
+The ticket for this feature is
+L<[perl #119317]|https://rt.perl.org/rt3/Ticket/Display.html?id=119317>.
 
-=item Backtracking control verbs
+=item Pluggable keywords
 
-C<(*ACCEPT)>
+The ticket for this feature is
+L<[perl #119455]|https://rt.perl.org/rt3/Ticket/Display.html?id=119455>.
 
-Introduced in: Perl 5.10
+See L<perlapi/PL_keyword_plugin> for the mechanism.
 
-=item Pluggable keywords
+Introduced in Perl 5.11.2
 
-See L<perlapi/PL_keyword_plugin> for the mechanism.
+=item Regular Expression Set Operations
 
-Introduced in: Perl 5.11.2
+Introduced in Perl 5.18
 
-=item Array and hash container functions accept references
+The ticket for this feature is
+L<[perl #119451]|https://rt.perl.org/rt3/Ticket/Display.html?id=119451>.
 
-Introduced in Perl 5.14.0
+See also: L<perlrecharclass/Extended Bracketed Character Classes>
 
-=item Lexical subroutines
+Using this feature triggers warnings in the category
+C<experimental::regex_sets>.
 
-Introduced in: Perl 5.18
+=item Subroutine signatures
 
-See also: L<perlsub/Lexical Subroutines>
+Introduced in Perl 5.20.0
 
 Using this feature triggers warnings in the category
-C<experimental::lexical_subs>.
+C<experimental::signatures>.
 
-=item Regular Expression Set Operations
+The ticket for this feature is
+L<[perl #121481]|https://rt.perl.org/Ticket/Display.html?id=121481>.
 
-Introduced in: Perl 5.18
+=item Aliasing via reference
 
-See also: L<perlrecharclass/Extended Bracketed Character Classes>
+Introduced in Perl 5.22.0
 
 Using this feature triggers warnings in the category
-C<experimental::regex_sets>.
+C<experimental::refaliasing>.
 
+The ticket for this feature is
+L<[perl #122947]|https://rt.perl.org/rt3/Ticket/Display.html?id=122947>.
 
-=item The <:pop> IO pseudolayer
+See also: L<perlref/Assigning to References>
 
-See also L<perlrun>
+=item The "const" attribute
 
-=item The <:win32> IO pseudolayer
+Introduced in Perl 5.22.0
 
-See also L<perlrun>
+Using this feature triggers warnings in the category
+C<experimental::const_attr>.
 
-=item MLDBM
+The ticket for this feature is
+L<[perl #123630]|https://rt.perl.org/rt3/Ticket/Display.html?id=123630>.
 
-See also L<perldsc>
+See also: L<perlsub/Constant Functions>
 
-=item internal functions with M flag
+=item use re 'strict';
 
-See also L<perlguts>
+Introduced in Perl 5.22.0
 
-=item lex_start API
+Using this feature triggers warnings in the category
+C<experimental::re_strict>.
 
-Introduced in Perl 5.13.7
+See L<re/'strict' mode>
 
-=item internal API for C<%^H>
+=item String- and number-specific bitwise operators
 
-Introduced in Perl 5.13.7
+Introduced in Perl 5.22.0
 
-See also C<cophh_> in L<perlapi>.
+See also: L<perlop/Bitwise String Operators>
 
-=item alloccopstash
+Using this feature triggers warnings in the category
+C<experimental::bitwise>.
 
-Introduced in Perl 5.18.0
+The ticket for this feature is
+L<[perl #123707]|https://rt.perl.org/rt3/Ticket/Display.html?id=123707>.
 
-=item av_create_and_push
+=item The <:win32> IO pseudolayer
 
-=item av_create_and_unshift_one
+The ticket for this feature is
+L<[perl #119453]|https://rt.perl.org/rt3/Ticket/Display.html?id=119453>.
 
-=item av_create_and_unshift_one
+See also L<perlrun>
 
-=item cop_store_label
+=item Declaring a reference to a variable
 
-Introduced in Perl 5.16.0
+Introduced in Perl 5.26.0
 
-=item PL_keyword_plugin
+Using this feature triggers warnings in the category
+C<experimental::declared_refs>.
 
-=item gv_fetchmethod_*_flags
+The ticket for this feature is
+L<[perl #128654]|https://rt.perl.org/rt3/Ticket/Display.html?id=128654>.
 
-Introduced in Perl 5.16.0
+See also: L<perlref/Declaring a Reference to a Variable>
 
-=item hv_iternext_flags
+=item There is an C<installhtml> target in the Makefile.
 
-=item lex_bufutf8
+The ticket for this feature is
+L<[perl #116487]|https://rt.perl.org/rt3/Ticket/Display.html?id=116487>.
 
-=item lex_discard_to
+=item Unicode in Perl on EBCDIC
 
-=item lex_grow_linestr
+=back
 
-=item lex_next_chunk
+=head2 Accepted features
 
-=item lex_peek_unichar
+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 lex_read_space
+=over 8
 
-=item lex_read_to
+=item 64-bit support
 
-=item lex_read_unichar
+Introduced in Perl 5.005
 
-=item lex_stuff_pv
+=item die accepts a reference
 
-=item lex_stuff_pvn
+Introduced in Perl 5.005
 
-=item lex_stuff_pvs
+=item DB module
 
-=item lex_stuff_sv
+Introduced in Perl 5.6.0
 
-=item lex_unstuff
+See also L<perldebug>, L<perldebtut>
 
-=item op_scope
+=item Weak references
 
-=item op_lvalue
+Introduced in Perl 5.6.0
 
-=item parse_fullstmt
+=item Internal file glob
 
-=item parse_stmtseq
+Introduced in Perl 5.6.0
 
-=item PL_parser-E<gt>bufend
+=item fork() emulation
 
-=item PL_parser-E<gt>bufptr
+Introduced in Perl 5.6.1
 
-=item PL_parser-E<gt>linestart
+See also L<perlfork>
 
-=item PL_parser-E<gt>linestr
+=item -Dusemultiplicity -Duseithreads
 
-=item Perl_signbit
+Introduced in Perl 5.6.0
 
-=item pad_findmy
+Accepted in Perl 5.8.0
 
-=item sv_utf8_decode
+=item Support for long doubles
 
-=item sv_utf8_downgrade
+Introduced in Perl 5.6.0
 
-=item bytes_from_utf8
+Accepted in Perl 5.8.1
 
-=item bytes_to_utf8
+=item The C<\N> regex character class
 
-=item utf8_to_bytes
+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 There is an C<installhtml> target in the Makefile.
+Introduced in Perl 5.12
 
-=item Unicode in Perl on EBCDIC
+Exact version of acceptance unclear, but no later than Perl 5.18.
 
-See also: L<perlre/"Special Backtracking Control Verbs">
+=item C<(?{code})> and C<(??{ code })>
 
-=item Code expressions, conditional expressions, and independent expressions in regexes
+Introduced in Perl 5.6.0
 
-=item gv_try_downgrade
+Accepted in Perl 5.20.0
 
-See also L<perlintern>
+See also L<perlre>
 
-=item Experimental Support for Sun Studio Compilers for Linux OS
+=item Linux abstract Unix domain sockets
 
-See also L<perllinux>
+Introduced in Perl 5.9.2
 
-=back
+Accepted before Perl 5.20.0.  The Socket library is now primarily maintained
+on CPAN, rather than in the perl core.
 
-=head2 Accepted features
+See also L<Socket>
 
-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 Lvalue subroutines
 
-=over 8
+Introduced in Perl 5.6.0
 
-=item 64-bit support
+Accepted in Perl 5.20.0
 
-Introduced in Perl 5.005
+See also L<perlsub>
 
-=item die accepts a reference
+=item Backtracking control verbs
 
-Introduced in Perl 5.005
+C<(*ACCEPT)>
 
-=item DB module
+Introduced in Perl 5.10
 
-Introduced in Perl 5.6.0
+Accepted in Perl 5.20.0
 
-See also L<perldebug>, L<perldebtut>
+=item The <:pop> IO pseudolayer
 
-=item Weak references
+See also L<perlrun>
 
-Introduced in Perl 5.6.0
+Accepted in Perl 5.20.0
 
-=item Internal file glob
+=item C<\s> in regexp matches vertical tab
 
-Introduced in Perl 5.6.0
+Accepted in Perl 5.22.0
 
-=item fork() emulation
+=item Postfix dereference syntax
 
-Introduced in Perl 5.6.1
+Introduced in Perl 5.20.0
 
-See also L<perlfork>
+Accepted in Perl 5.24.0
 
-=item The C<\N> regex character class
+=item Lexical subroutines
 
-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.
+Introduced in Perl 5.18.0
 
-Introduced in: Perl 5.12
+Accepted in Perl 5.26.0
 
 =back
 
@@ -316,12 +305,36 @@ Moved from Perl 5.10.1 to CPAN
 
 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
 
-Removed in: 5.11.3
+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 Perl 5.24.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> >>