This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Mention warning categories for removed experimental features
[perl5.git] / pod / perlexperiment.pod
index 946e8ff..2f361bb 100644 (file)
@@ -16,267 +16,272 @@ their inception, versions, etc. There's a lot of speculation here.
 
 =over 8
 
-=item -Dusemultiplicity -Duseithreads
-
-Introduced in Perl 5.6.0
-
-=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
+The ticket for this feature is
+L<[perl #119313]|https://rt.perl.org/rt3/Ticket/Display.html?id=119313>.
 
-Introduced in Perl 5.9.2
+=item Smart match (C<~~>)
 
-See also L<Socket>
+Introduced in Perl 5.10.0
 
-=item L<Pod::HTML2Pod|Pod::HTML2Pod>
+Modified in Perl 5.10.1, 5.12.0
 
-=item L<Pod::PXML|Pod::PXML>
+Using this feature triggers warnings in the category
+C<experimental::smartmatch>.
 
-=item The <:pop> IO pseudolayer
+The ticket for this feature is
+L<[perl #119317]|https://rt.perl.org/rt3/Ticket/Display.html?id=119317>.
 
-See also L<perlrun>
+=item Pluggable keywords
 
-=item The <:win32> IO pseudolayer
+The ticket for this feature is
+L<[perl #119455]|https://rt.perl.org/rt3/Ticket/Display.html?id=119455>.
 
-See also L<perlrun>
+See L<perlapi/PL_keyword_plugin> for the mechanism.
 
-=item MLDBM
+Introduced in: Perl 5.11.2
 
-See also L<perldsc>
+=item Lexical subroutines
 
-=item internal functions with M flag
+Introduced in: Perl 5.18
 
-See also L<perlguts>
+See also: L<perlsub/Lexical Subroutines>
 
-=item lex_start API
+Using this feature triggers warnings in the category
+C<experimental::lexical_subs>.
 
-Introduced in Perl 5.13.7
+The ticket for this feature is
+L<[perl #120085]|https://rt.perl.org/rt3/Ticket/Display.html?id=120085>.
 
-=item internal API for C<%^H>
+=item Regular Expression Set Operations
 
-Introduced in Perl 5.13.7
+Introduced in: Perl 5.18
 
-See also C<cophh_> in L<perlapi>.
+The ticket for this feature is
+L<[perl #119451]|https://rt.perl.org/rt3/Ticket/Display.html?id=119451>.
 
-=item alloccopstash
+See also: L<perlrecharclass/Extended Bracketed Character Classes>
 
-Introduced in Perl 5.18.0
+Using this feature triggers warnings in the category
+C<experimental::regex_sets>.
 
-=item av_create_and_push
+=item Subroutine signatures
 
-=item av_create_and_unshift_one
+Introduced in Perl 5.20.0
 
-=item av_create_and_unshift_one
+Using this feature triggers warnings in the category
+C<experimental::signatures>.
 
-=item cop_store_label
+The ticket for this feature is
+L<[perl #121481]|https://rt.perl.org/Ticket/Display.html?id=121481>.
 
-Introduced in Perl 5.16.0
+=item Aliasing via reference
 
-=item PL_keyword_plugin
+Introduced in Perl 5.22.0
 
-=item gv_fetchmethod_*_flags
+Using this feature triggers warnings in the category
+C<experimental::refaliasing>.
 
-Introduced in Perl 5.16.0
+The ticket for this feature is
+L<[perl #122947]|https://rt.perl.org/rt3/Ticket/Display.html?id=122947>.
 
-=item hv_iternext_flags
+See also: L<perlref/Assigning to References>
 
-=item lex_bufutf8
+=item The "const" attribute
 
-=item lex_discard_to
+Introduced in Perl 5.22.0
 
-=item lex_grow_linestr
+Using this feature triggers warnings in the category
+C<experimental::const_attr>.
 
-=item lex_next_chunk
+The ticket for this feature is
+L<[perl #123630]|https://rt.perl.org/rt3/Ticket/Display.html?id=123630>.
 
-=item lex_peek_unichar
+See also: L<perlsub/Constant Functions>
 
-=item lex_read_space
+=item use re 'strict';
 
-=item lex_read_to
+Introduced in Perl 5.22.0
 
-=item lex_read_unichar
+Using this feature triggers warnings in the category
+C<experimental::re_strict>.
 
-=item lex_stuff_pv
+See L<re/'strict' mode>
 
-=item lex_stuff_pvn
+=item String- and number-specific bitwise operators
 
-=item lex_stuff_pvs
+Introduced in: Perl 5.22.0
 
-=item lex_stuff_sv
+See also: L<perlop/Bitwise String Operators>
 
-=item lex_unstuff
+Using this feature triggers warnings in the category
+C<experimental::bitwise>.
 
-=item op_scope
+The ticket for this feature is
+L<[perl #123707]|https://rt.perl.org/rt3/Ticket/Display.html?id=123707>.
 
-=item op_lvalue
+=item The <:win32> IO pseudolayer
 
-=item parse_fullstmt
+The ticket for this feature is
+L<[perl #119453]|https://rt.perl.org/rt3/Ticket/Display.html?id=119453>.
 
-=item parse_stmtseq
+See also L<perlrun>
 
-=item PL_parser-E<gt>bufend
+=item There is an C<installhtml> target in the Makefile.
 
-=item PL_parser-E<gt>bufptr
+The ticket for this feature is
+L<[perl #116487]|https://rt.perl.org/rt3/Ticket/Display.html?id=116487>.
 
-=item PL_parser-E<gt>linestart
+=item Unicode in Perl on EBCDIC
 
-=item PL_parser-E<gt>linestr
+=back
 
-=item Perl_signbit
+=head2 Accepted features
 
-=item pad_findmy
+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 sv_utf8_decode
+=over 8
 
-=item sv_utf8_downgrade
+=item 64-bit support
 
-=item bytes_from_utf8
+Introduced in Perl 5.005
 
-=item bytes_to_utf8
+=item die accepts a reference
 
-=item utf8_to_bytes
+Introduced in Perl 5.005
 
-=item Lvalue subroutines
+=item DB module
 
 Introduced in Perl 5.6.0
 
-See also L<perlsub>
-
-=item There is an C<installhtml> target in the Makefile.
-
-=item Unicode in Perl on EBCDIC
-
-=item C<(?{code})>
-
-See also L<perlre>
+See also L<perldebug>, L<perldebtut>
 
-=item C<(??{ code })>
+=item Weak references
 
-See also L<perlre>
+Introduced in Perl 5.6.0
 
-=item Smart match (C<~~>)
+=item Internal file glob
 
-Introduced in Perl 5.10.0
+Introduced in Perl 5.6.0
 
-Modified in Perl 5.10.1, 5.12.0
+=item fork() emulation
 
-=item Lexical C<$_>
+Introduced in Perl 5.6.1
 
-Introduced in Perl 5.10.0
+See also L<perlfork>
 
-=item Backtracking control verbs
+=item -Dusemultiplicity -Duseithreads
 
-C<(*ACCEPT)>
+Introduced in Perl 5.6.0
 
-Introduced in: Perl 5.10
+Accepted in Perl 5.8.0
 
-See also: L<perlre/"Special Backtracking Control Verbs">
+=item Support for long doubles
 
-=item Code expressions, conditional expressions, and independent expressions in regexes
+Introduced in Perl 5.6.0
 
+Accepted in Perl 5.8.1
 
-=item gv_try_downgrade
+=item The C<\N> regex character class
 
-See also L<perlintern>
+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 Experimental Support for Sun Studio Compilers for Linux OS
+Introduced in Perl 5.12
 
-See also L<perllinux>
+Exact version of acceptance unclear, but no later than Perl 5.18.
 
-=item Pluggable keywords
+=item C<(?{code})> and C<(??{ code })>
 
-See L<perlapi/PL_keyword_plugin> for the mechanism.
+Introduced in Perl 5.6.0
 
-Introduced in: Perl 5.11.2
+Accepted in Perl 5.20.0
 
-=item Array and hash container functions accept references
+See also L<perlre>
 
-Introduced in Perl 5.14.0
+=item Linux abstract Unix domain sockets
 
-=item Lexical subroutines
+Introduced in Perl 5.9.2
 
-Introduced in: Perl 5.18
+Accepted before Perl 5.20.0.  The Socket library is now primarily maintained
+on CPAN, rather than in the perl core.
 
-See also: L<perlsub/Lexical Subroutines>
+See also L<Socket>
 
-=item Regular Expression Set Operations
+=item Lvalue subroutines
 
-Introduced in: Perl 5.18
+Introduced in Perl 5.6.0
 
-See also: L<perlrecharclass/Extended Bracketed Character Classes>
+Accepted in Perl 5.20.0
 
-=back
+See also L<perlsub>
 
-=head2 Accepted features
+=item Backtracking control verbs
 
-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.
+C<(*ACCEPT)>
 
-=over 8
+Introduced in: Perl 5.10
 
-=item The C<\N> regex character class
+Accepted in Perl 5.20.0
 
-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 The <:pop> IO pseudolayer
 
-Introduced in: Perl 5.12
+See also L<perlrun>
 
-=item fork() emulation
+Accepted in Perl 5.20.0
 
-Introduced in Perl 5.6.1
+=item C<\s> in regexp matches vertical tab
 
-See also L<perlfork>
+Accepted in Perl 5.22.0
 
-=item DB module
+=item Postfix dereference syntax
 
-Introduced in Perl 5.6.0
+Introduced in Perl 5.20.0
 
-See also L<perldebug>, L<perldebtut>
+Accepted in Perl 5.24.0
 
-=item Weak references
+=back
 
-Introduced in Perl 5.6.0
+=head2 Removed features
 
-=item Internal file glob
+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>).
 
-Introduced in Perl 5.6.0
+=over 8
 
-=item die accepts a reference
+=item 5.005-style threading
 
 Introduced in Perl 5.005
 
-=item 64-bit support
+Removed in Perl 5.10
 
-Introduced in Perl 5.005
+=item perlcc
 
-=back
+Introduced in Perl 5.005
 
-=head2 Removed features
+Moved from Perl 5.9.0 to CPAN
 
-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 The pseudo-hash data type
 
-=over 8
+Introduced in Perl 5.6.0
 
-=item C<legacy>
+Removed in Perl 5.9.0
 
-The experimental C<legacy> pragma was swallowed by the C<feature> pragma.
+=item GetOpt::Long Options can now take multiple values at once (experimental)
 
-Introduced in: 5.11.2
+C<Getopt::Long> upgraded to version 2.35
 
-Removed in: 5.11.3
+Removed in Perl 5.8.8
 
 =item Assertions
 
@@ -290,32 +295,40 @@ Removed in Perl 5.9.5
 
 Moved from Perl 5.10.1 to CPAN
 
-=item GetOpt::Long Options can now take multiple values at once (experimental)
+=item C<legacy>
 
-C<Getopt::Long> upgraded to version 2.35
+The experimental C<legacy> pragma was swallowed by the C<feature> pragma.
 
-Removed in Perl 5.8.8
+Introduced in: 5.11.2
 
-=item The pseudo-hash data type
+Removed in: 5.11.3
 
-Introduced in Perl 5.6.0
+=item Lexical C<$_>
 
-Removed in Perl 5.9.0
+Using this feature triggered warnings in the category
+C<experimental::lexical_topic>.
 
-=item 5.005-style threading
+Introduced in Perl 5.10.0
 
-Introduced in Perl 5.005
+Removed in Perl 5.24.0
 
-Removed in Perl 5.10
+=item Array and hash container functions accept references
 
-=item perlcc
+Using this feature triggered warnings in the category
+C<experimental::autoderef>.
 
-Introduced in Perl 5.005
+Superseded by L</Postfix dereference syntax>.
 
-Moved from Perl 5.9.0 to CPAN
+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> >>