summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2015-06-25 13:50:43 +0100
committerAaron Crane <arc@cpan.org>2015-07-13 14:12:27 +0100
commitb92342550433b215a30d5d4b9bfe55321c69f8ac (patch)
tree458c7239b0282db5f9731b252276010a4d3c6f07 /pod
parent262309092c2de925e7ae4a527174f8dc2a0ec7b7 (diff)
downloadperl-b92342550433b215a30d5d4b9bfe55321c69f8ac.tar.gz
Eliminate repetitious wording in perldiag
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod47
1 files changed, 3 insertions, 44 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 2723231553..71bf1ec87a 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -2115,39 +2115,10 @@ L<perlrecharclass/Extended Bracketed Character Classes>.
use feature "signatures";
sub foo ($left, $right) { ... }
-=item Experimental each on scalar is now forbidden
+=item Experimental %s on scalar is now forbidden
-(F) An experimental feature added in Perl 5.14 allowed C<each> to be called
-with a scalar argument. This experiment is considered unsuccessful, and has
-been removed. The C<postderef> feature may meet your needs better.
-
-=item Experimental keys on scalar is now forbidden
-
-(F) An experimental feature added in Perl 5.14 allowed C<keys> to be called
-with a scalar argument. This experiment is considered unsuccessful, and has
-been removed. The C<postderef> feature may meet your needs better.
-
-=item Experimental push on scalar is now forbidden
-
-(F) An experimental feature added in Perl 5.14 allowed C<push> to be called
-with a scalar argument. This experiment is considered unsuccessful, and has
-been removed. The C<postderef> feature may meet your needs better.
-
-=item Experimental pop on scalar is now forbidden
-
-(F) An experimental feature added in Perl 5.14 allowed C<pop> to be called
-with a scalar argument. This experiment is considered unsuccessful, and has
-been removed. The C<postderef> feature may meet your needs better.
-
-=item Experimental shift on scalar is now forbidden
-
-(F) An experimental feature added in Perl 5.14 allowed C<shift> to be called
-with a scalar argument. This experiment is considered unsuccessful, and has
-been removed. The C<postderef> feature may meet your needs better.
-
-=item Experimental splice on scalar is now forbidden
-
-(F) An experimental feature added in Perl 5.14 allowed C<splice> to be called
+(F) An experimental feature added in Perl 5.14 allowed C<each>, C<keys>,
+C<push>, C<pop>, C<shift>, C<splice>, C<unshift>, and C<values> to be called
with a scalar argument. This experiment is considered unsuccessful, and has
been removed. The C<postderef> feature may meet your needs better.
@@ -2159,18 +2130,6 @@ been removed. The C<postderef> feature may meet your needs better.
use feature 'lexical_subs';
my sub foo { ... }
-=item Experimental unshift on scalar is now forbidden
-
-(F) An experimental feature added in Perl 5.14 allowed C<unshift> to be called
-with a scalar argument. This experiment is considered unsuccessful, and has
-been removed. The C<postderef> feature may meet your needs better.
-
-=item Experimental values on scalar is now forbidden
-
-(F) An experimental feature added in Perl 5.14 allowed C<values> to be called
-with a scalar argument. This experiment is considered unsuccessful, and has
-been removed. The C<postderef> feature may meet your needs better.
-
=item Explicit blessing to '' (assuming package main)
(W misc) You are blessing a reference to a zero length string. This has