Skip to content

Commit

Permalink
perlsyn: add triple-dot index entries and alias
Browse files Browse the repository at this point in the history
This adds the index entries to perlsyn that were removed in
the previous commit, and mentions in perlsyn that the ellipsis
is also called a triple-dot.
  • Loading branch information
Father Chrysostomos committed Jan 6, 2012
1 parent c710240 commit 81104cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pod/perlsyn.pod
Expand Up @@ -700,6 +700,10 @@ X<elliptical statement>
X<unimplemented statement>
X<unimplemented operator>
X<yada-yada>
X<yada-yada operator>
X<... operator>
X<whatever operator>
X<triple-dot operator>

Beginning in Perl 5.12, Perl accepts an ellipsis, "C<...>", as a
placeholder for code that you haven't implemented yet. This form of
Expand Down Expand Up @@ -768,7 +772,8 @@ block and not a hash reference constructor. Now the ellipsis works:
@transformed = map { ...; } @input; # ; disambiguates

Note: Some folks colloquially refer to this bit of punctuation as a
"yada-yada", but its true name is actually an ellipsis. Perl does not yet
"yada-yada" or "triple-dot", but its true name
is actually an ellipsis. Perl does not yet
accept the Unicode version, U+2026 HORIZONTAL ELLIPSIS, as an alias for
C<...>, but someday it may.

Expand Down

0 comments on commit 81104cd

Please sign in to comment.