Skip to content

Commit ecd6226

Browse files
warn the unsuspecting of EVAL atrocities.
1 parent 8b85121 commit ecd6226

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/Type/Cool.pod6

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,10 @@ C<EVAL> is also a gateway for executing code in other languages:
12571257
=for code :skip-test
12581258
EVAL "use v5.20; say 'Hello from perl5!'", :lang<Perl5>;
12591259
1260+
B<WARNING> There is a long-standing bug when using EVAL in long-running
1261+
loops where memory is increasingly consumed. Consider using Callable
1262+
types instead of EVAL.
1263+
12601264
=head2 routine EVALFILE
12611265
12621266
Defined as:

0 commit comments

Comments
 (0)