File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1412,9 +1412,8 @@ sub EVAL($code where Cool|Blob, :$lang = 'perl6')
1412
1412
The method form calls subroutine form with invocant as C < $code > , passing
1413
1413
along named args, if any. Subroutine form coerces L < Cool > C < $code > to
1414
1414
L < Str > . If C < $code > is a L < Blob > , it'll be processed using the same
1415
- encoding as the C < $lang > compiler would: for C < perl6 > , uses the encoding
1416
- specified via C < --encoding > command line argument, or C < utf-8 > if none
1417
- were given; for C < Perl5 > , processes using same rules as C < perl > .
1415
+ encoding as the C < $lang > compiler would: for C < perl6 > C < $lang > , uses C < utf-8 > ;
1416
+ for C < Perl5 > , processes using the same rules as C < perl > .
1418
1417
1419
1418
This works as-is with a literal string parameter. More complex input,
1420
1419
such as a variable or string with embedded code, is illegal by default.
You can’t perform that action at this time.
0 commit comments