summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe McMahon <joe.mcmahon@gmail.com>2022-10-23 16:35:04 -0700
committerKarl Williamson <khw@cpan.org>2022-10-24 18:51:42 -0600
commit1557e6c32831defe4b25a924a88baf5f5e7bcbdd (patch)
tree7188c179cbf3f5bd687afb4e56282e30722e7053
parent8b4768d1bcec4110f56a34c3d7ca4586c58434d9 (diff)
downloadperl-1557e6c32831defe4b25a924a88baf5f5e7bcbdd.tar.gz
19207: Document ellipsis statement error
Adds a section to `perldiag` that details what the `Unimplemented` error is, caused by executing an ellipsis ("...;") statement.
-rw-r--r--.mailmap1
-rw-r--r--pod/perldiag.pod15
2 files changed, 16 insertions, 0 deletions
diff --git a/.mailmap b/.mailmap
index f242ff4a28..a154d5a8de 100644
--- a/.mailmap
+++ b/.mailmap
@@ -433,6 +433,7 @@ Jody Belka <dev-perl@pimb.org> Jody Belka <lists-p5p@pimb.org>
Jody Belka <dev-perl@pimb.org> knew-p5p@pimb.org <knew-p5p@pimb.org>
Joe Buehler <jbuehler@hekimian.com> <jhpb@hekimian.com>
Joe McMahon <mcmahon@ibiblio.org> <mcmahon@metalab.unc.edu>
+Joe McMahon <mcmahon@ibiblio.org> Joe McMahon <joe.mcmahon@gmail.com>
John Heidemann <johnh@isi.edu> johnh@isi.edu <johnh@isi.edu>
John Hughes <john@atlantech.com> John Hughes <john@titanic.atlantech.com>
John L. Allen <allen@grumman.com> John L. Allen <allen@gateway.grumman.com>
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index e513bb0b8c..9ab597b061 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -6781,6 +6781,21 @@ problems when being input or output, which is likely where this message
came from. If you really really know what you are doing you can turn
off this warning by C<no warnings 'surrogate';>.
+=item Unimplemented
+
+(F) In Perl 5.12 and above, you have executed an
+L<ellipsis statement|perlsyn/"The Ellipsis Statement">. This is a
+bare C<...;>, meant to be used to allow you to outline code that
+is to be written, but is not complete, similar to the following:
+
+ sub not_done_yet {
+ my($self, $arg1, $arg2) = @_;
+ ...
+ }
+
+If C<not_done_yet()> is called, Perl will die with an C<Unimplemented> error
+at the line containing C<...>.
+
=item Unknown charname '%s'
(F) The name you used inside C<\N{}> is unknown to Perl. Check the