Skip to content

Commit 01383c6

Browse files
authored
Fix EVALFILE signature / hint there's encoding stuff involved
1 parent 218dce5 commit 01383c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Cool.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,10 +1338,10 @@ EVAL "use v5.20; say 'Hello from perl5!'", :lang<Perl5>;
13381338
13391339
Defined as:
13401340
1341-
sub EVALFILE(Cool $filename, :$lang = { ... })
1341+
sub EVALFILE($filename where Blob|Cool, :$lang = 'perl6')
13421342
13431343
Slurps the specified file and evaluates it. Behaves the same way as C<EVAL>
1344-
with regard to both scoping and the C<$lang> parameter. Evaluates to the value
1344+
with regard to L<Blob> decoding, scoping, and the C<$lang> parameter. Evaluates to the value
13451345
produced by the final statement in the file.
13461346
13471347
=for code

0 commit comments

Comments
 (0)