Skip to content

Commit 6e3c746

Browse files
committed
Revert "Update &prompt docs according to the changes introduced with rakudo/rakudo#1906."
This reverts commit 917a52a. Reverted because the change is not released yet. My fault, sorry!
1 parent 917a52a commit 6e3c746

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

doc/Type/IO.pod6

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,11 @@ note 1..*; # STDERR OUTPUT: «1..Inf␤»
251251
multi prompt($msg)
252252
253253
L<Prints|/routine/print> C<$msg> to C<$*OUT> handle, if C<$msg> was provided,
254-
then L<gets|/routine/get> a line of input from C<$*IN> handle and pass it through L<val|/routine/val>.
255-
By default, this is equivalent to printing C<$msg> to
254+
then L<gets|/routine/get> a line of input from C<$*IN> handle. By default,
255+
this is equivalent to printing C<$msg> to
256256
L<STDOUT|https://en.wikipedia.org/wiki/Standard_streams#Standard_output_.28stdout.29>, reading a line from
257257
L<STDIN|https://en.wikipedia.org/wiki/Standard_streams#Standard_input_.28stdin.29>,
258-
removing the trailing new line, calling L<val|/routine/val> on it and returning
259-
the resultant string or the appropriate L<allomorph|/language/glossary#Allomorph>.
260-
Returns L<Nil|/type/Nil> on EOF.
258+
removing the trailing new line, and returning the resultant string.
261259
262260
=for code
263261
my $name = prompt "What's your name? ";

0 commit comments

Comments
 (0)