EVALFILE
ErrorsCollection

EVALFILE

Synthesised documentation from type/independent-routines

From type/independent-routines

See Original text in context

sub EVALFILE($filename where Blob|Cool:$lang = 'Raku':$check)

Slurps the specified file and evaluates it. Behaves the same way as EVAL with regard to Blob decoding, scoping, the $lang parameter and the $check parameter. Evaluates to the value produced by the final statement in the file when $check is not True.

EVALFILE "foo.raku";