File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ The C<REPL> is an interactive Raku prompt. Each line of code you enter in the C<
1010is executed, and if no output was generated, the value returned
1111by the expression is output.
1212
13+ =head1 Trap
14+
15+ B<Note>: Running code in the C<REPL> is not equivalent to saving the code in a file and
16+ running that. Each line introduces a new scope which can confuse code that has multiple
17+ lines. See C<sub repl()> below for a way to target a REPL inside a larger script.
18+
1319=head1 Previous Values
1420
1521As you enter commands into the REPL, each line has a numeric ID associated with it, starting
@@ -33,12 +39,6 @@ To exit type 'exit' or '^D'
3339[3] >
3440=end code
3541
36- =head1 Trap
37-
38- B<Note>: Running code in the C<REPL> is not equivalent to saving the code in a file and
39- running that. Each line introduces a new scope which can confuse code that has multiple
40- lines. See C<sub repl()> below for a way to target a REPL inside a larger script.
41-
4242=head1 non-interactive mode
4343
4444If invoked from the command line with C<raku --repl-mode=non-interactive>, no history or prompts
You can’t perform that action at this time.
0 commit comments