Skip to content

Commit 3894dcf

Browse files
committed
Document RAKU_REPL_OUTPUT_METHOD
1 parent cd334b5 commit 3894dcf

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/Programs/03-environment-variables.rakudoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,17 @@ X<|Programs,RAKUDO_LOG_PRECOMP>
129129
If set to 1, diagnostic information about the precompilation process is
130130
emitted.
131131

132-
=head2 Line editor
132+
=head2 REPL (Read Eval Print Loop)
133+
134+
X<|Programs,RAKU_REPL_OUTPUT_METHOD>
135+
=item C<RAKU_REPL_OUTPUT_METHOD>
136+
137+
This specifies the name of the method that should be called on the result
138+
value of a statement in the REPL if the statement did B<not> cause any
139+
output of its own. If absent, C<gist> will be assumed. One can use
140+
C<raku> to force a more literal, parsable representation. Or C<Str> to force a
141+
complete string representation. Available as of the 2020.06 release of
142+
the Rakudo compiler.
133143

134144
X<|Programs,RAKUDO_LINE_EDITOR>
135145
=item C<RAKUDO_LINE_EDITOR>

0 commit comments

Comments
 (0)